HEX Color Conversion

Hex Color Code #B2D022 — RGB & HSL Conversions

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

To apply the hex color #B2D022 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #B2D022; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #B2D022; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#B2D022].

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

In the digital sRGB color space, the hex value #B2D022 is converted to RGB values of Red: 178, Green: 208, and Blue: 34. When analyzed under the HSL model, its coordinates correspond to hue angle 70°, 72% saturation, and 47% lightness. This makes it visually a balanced medium tone with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #B2D022

When converting #B2D022 for CMYK printing, the color separation consists of 14% Cyan, 0% Magenta, 84% Yellow, and 18% key/black. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.

Red Channel 178
Green Channel 208
Blue Channel 34
Luminance 0.547

HEX #B2D022 Color Space Conversions

Click to copy format
HEX Color Code #B2D022
RGB (Red Green Blue) rgb(178, 208, 34)
HSL (Hue Sat Light) hsl(70°, 72%, 47%)
CMYK (Commercial Print) cmyk(14%, 0%, 84%, 18%)
HSV / HSB Values hsv(70°, 84%, 82%)
Decimal Color Code 11718690
CSS Custom Variable --color-hex: #B2D022;
Tailwind CSS Utility bg-[#B2D022]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #B2D022

Small body copy preview

Black Text on Background

Black text readability test with #B2D022

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 #B2D022 */
--color-hex: #B2D022;
--color-rgb: rgb(178, 208, 34);
--color-hsl: hsl(70deg, 72%, 47%);

Adjacent HEX Color Codes

Copied!