#F0E25F
A light, vivid yellow closely aligning with Khaki.
About #F0E25F
When working with digital screens, the color #F0E25F is rendered by mixing light. It is closely associated with the named CSS color Khaki. This translates to an RGB value of rgb(240, 226, 95).
If you are designing for print, the four-color process is what matters most. The color uses 0% Cyan, 6% Magenta, 60% Yellow, and 6% Black. The HSL representation is 54.2° hue, 82.9% saturation, and 65.7% lightness.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#F0E25F
RGB240, 226, 95
HSL54.2°, 82.9%, 65.7%
CMYK0%, 6%, 60%, 6%
HSV54.2°, 60.4%, 94.1%
LAB88.8, -10.8, 64.0
XYZ65.2, 73.7, 21.6
Decimal15786591
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.33:1
Text on #FFFFFF
FAIL
15.75:1
Text on #000000
AAA
1.27:1
Text on #F8FAFC
FAIL
13.39:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0E25F;
}
.text-color {
color: #F0E25F;
}
.border-color {
border: 2px solid #F0E25F;
}