HEX Color Conversion

Hex Color Code #B2C322 — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #B2C322 is converted to RGB values of Red: 178, Green: 195, and Blue: 34. When analyzed under the HSL model, its coordinates correspond to hue angle 66°, 70% saturation, and 45% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.

CMYK print code settings for #B2C322

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

Red Channel 178
Green Channel 195
Blue Channel 34
Luminance 0.486

HEX #B2C322 Color Space Conversions

Click to copy format
HEX Color Code #B2C322
RGB (Red Green Blue) rgb(178, 195, 34)
HSL (Hue Sat Light) hsl(66°, 70%, 45%)
CMYK (Commercial Print) cmyk(9%, 0%, 83%, 24%)
HSV / HSB Values hsv(66°, 83%, 76%)
Decimal Color Code 11715362
CSS Custom Variable --color-hex: #B2C322;
Tailwind CSS Utility bg-[#B2C322]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #B2C322

Small body copy preview

Black Text on Background

Black text readability test with #B2C322

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 #B2C322 */
--color-hex: #B2C322;
--color-rgb: rgb(178, 195, 34);
--color-hsl: hsl(66deg, 70%, 45%);

Adjacent HEX Color Codes

Copied!