HEX Color Conversion

Hex Color Code #F9F972 — RGB & HSL Conversions

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

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

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

The RGB code for #F9F972 is computed as rgb(249, 249, 114). Web designers using HSL values will find it at a hue of 60°, saturation of 92%, and lightness index of 71%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #F9F972

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

Red Channel 249
Green Channel 249
Blue Channel 114
Luminance 0.891

HEX #F9F972 Color Space Conversions

Click to copy format
HEX Color Code #F9F972
RGB (Red Green Blue) rgb(249, 249, 114)
HSL (Hue Sat Light) hsl(60°, 92%, 71%)
CMYK (Commercial Print) cmyk(0%, 0%, 54%, 2%)
HSV / HSB Values hsv(60°, 54%, 98%)
Decimal Color Code 16382322
CSS Custom Variable --color-hex: #F9F972;
Tailwind CSS Utility bg-[#F9F972]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #F9F972

Small body copy preview

Black Text on Background

Black text readability test with #F9F972

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 #F9F972 */
--color-hex: #F9F972;
--color-rgb: rgb(249, 249, 114);
--color-hsl: hsl(60deg, 92%, 71%);

Adjacent HEX Color Codes

Copied!