#F0E97C

A light, vivid yellow closely aligning with Khaki.

About #F0E97C

The precise color #F0E97C is an excellent choice for modern design projects. Designers often compare it to the standard color Khaki. This translates to an RGB value of rgb(240, 233, 124).

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 0% cyan, 3% magenta, 48% yellow, and 6% black. The HSL representation is 56.4° hue, 79.5% saturation, and 71.4% lightness.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#F0E97C
RGB240, 233, 124
HSL56.4°, 79.5%, 71.4%
CMYK0%, 3%, 48%, 6%
HSV56.4°, 48.3%, 94.1%
LAB90.9, -12.0, 53.4
XYZ68.7, 78.3, 30.6
Decimal15788412

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.26:1
Text on #FFFFFF
FAIL
16.65:1
Text on #000000
AAA
1.21:1
Text on #F8FAFC
FAIL
14.16:1
Text on #0F172A
AAA

CSS Implementation

.bg-color { background-color: #F0E97C; }
.text-color { color: #F0E97C; }
.border-color { border: 2px solid #F0E97C; }

Similar Colors

Khaki
#F0E68C