HEX Color Conversion

Hex Color Code #B1A422 — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #B1A422 is converted to RGB values of Red: 177, Green: 164, and Blue: 34. When analyzed under the HSL model, its coordinates correspond to hue angle 55°, 68% saturation, and 41% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.

CMYK print code settings for #B1A422

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

Red Channel 177
Green Channel 164
Blue Channel 34
Luminance 0.360

HEX #B1A422 Color Space Conversions

Click to copy format
HEX Color Code #B1A422
RGB (Red Green Blue) rgb(177, 164, 34)
HSL (Hue Sat Light) hsl(55°, 68%, 41%)
CMYK (Commercial Print) cmyk(0%, 7%, 81%, 31%)
HSV / HSB Values hsv(55°, 81%, 69%)
Decimal Color Code 11641890
CSS Custom Variable --color-hex: #B1A422;
Tailwind CSS Utility bg-[#B1A422]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #B1A422

Small body copy preview

Black Text on Background

Black text readability test with #B1A422

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 #B1A422 */
--color-hex: #B1A422;
--color-rgb: rgb(177, 164, 34);
--color-hsl: hsl(55deg, 68%, 41%);

Adjacent HEX Color Codes

Copied!