HEX Color Conversion

Hex Color Code #B2D522 — RGB & HSL Conversions

How to use the #B2D522 color code in HTML & CSS?

For developers, implementing the #B2D522 color code involves declaring it in your styles. In stylesheet designs, use color: #B2D522; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#B2D522] or custom configure it in your theme files.

What are the RGB and HSL conversion values for #B2D522?

The RGB code for #B2D522 is computed as rgb(178, 213, 34). Web designers using HSL values will find it at a hue of 72°, saturation of 72%, and lightness index of 48%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #B2D522

For print design setups, the CMYK values for the #B2D522 color code are Cyan: 16%, Magenta: 0%, Yellow: 84%, and Black: 16%. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.

Red Channel 178
Green Channel 213
Blue Channel 34
Luminance 0.572

HEX #B2D522 Color Space Conversions

Click to copy format
HEX Color Code #B2D522
RGB (Red Green Blue) rgb(178, 213, 34)
HSL (Hue Sat Light) hsl(72°, 72%, 48%)
CMYK (Commercial Print) cmyk(16%, 0%, 84%, 16%)
HSV / HSB Values hsv(72°, 84%, 84%)
Decimal Color Code 11719970
CSS Custom Variable --color-hex: #B2D522;
Tailwind CSS Utility bg-[#B2D522]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #B2D522

Small body copy preview

Black Text on Background

Black text readability test with #B2D522

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #B2D522 */
--color-hex: #B2D522;
--color-rgb: rgb(178, 213, 34);
--color-hsl: hsl(72deg, 72%, 48%);

Adjacent HEX Color Codes

Copied!