#F0E975
A light, vivid yellow closely aligning with Khaki.
About #F0E975
The precise color #F0E975 is an excellent choice for modern design projects. If you're using CSS, you might find it aligns closely with Khaki. Its digital footprint relies on 240 parts red, 233 parts green, and 117 parts blue light.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 3% Magenta, 51% Yellow, and 6% Black. The HSL representation is 56.6° hue, 80.4% saturation, and 70.0% lightness.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a light color, it is generally recommended to use #000000 text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#F0E975
RGB240, 233, 117
HSL56.6°, 80.4%, 70.0%
CMYK0%, 3%, 51%, 6%
HSV56.6°, 51.3%, 94.1%
LAB90.8, -12.6, 56.5
XYZ68.3, 78.1, 28.3
Decimal15788405
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.26:1
Text on #FFFFFF
FAIL
16.62:1
Text on #000000
AAA
1.21:1
Text on #F8FAFC
FAIL
14.13:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0E975;
}
.text-color {
color: #F0E975;
}
.border-color {
border: 2px solid #F0E975;
}