HEX Color Conversion

Hex Color Code #9F902D — RGB & HSL Conversions

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

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

What are the RGB and HSL conversion values for #9F902D?

In the digital sRGB color space, the hex value #9F902D is converted to RGB values of Red: 159, Green: 144, and Blue: 45. When analyzed under the HSL model, its coordinates correspond to hue angle 52°, 56% saturation, and 40% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.

CMYK print code settings for #9F902D

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

Red Channel 159
Green Channel 144
Blue Channel 45
Luminance 0.275

HEX #9F902D Color Space Conversions

Click to copy format
HEX Color Code #9F902D
RGB (Red Green Blue) rgb(159, 144, 45)
HSL (Hue Sat Light) hsl(52°, 56%, 40%)
CMYK (Commercial Print) cmyk(0%, 9%, 72%, 38%)
HSV / HSB Values hsv(52°, 72%, 62%)
Decimal Color Code 10457133
CSS Custom Variable --color-hex: #9F902D;
Tailwind CSS Utility bg-[#9F902D]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #9F902D

Small body copy preview

Black Text on Background

Black text readability test with #9F902D

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 #9F902D */
--color-hex: #9F902D;
--color-rgb: rgb(159, 144, 45);
--color-hsl: hsl(52deg, 56%, 40%);

Adjacent HEX Color Codes

Copied!