#F0E68C
A light, vivid yellow closely aligning with Khaki.
About #F0E68C
The precise color #F0E68C is an excellent choice for modern design projects. It is closely associated with the named CSS color Khaki. This translates to an RGB value of rgb(240, 230, 140).
If you are designing for print, the four-color process is what matters most. To reproduce this shade on paper, a printer utilizes 0% cyan and 4% magenta inks. With a hue angle of 54.0 degrees, it sits comfortably in the yellow spectrum.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #000000 text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#F0E68C
RGB240, 230, 140
HSL54.0°, 76.9%, 74.5%
CMYK0%, 4%, 42%, 6%
HSV54.0°, 41.7%, 94.1%
LAB90.3, -9.0, 45.0
XYZ69.0, 77.0, 36.0
Decimal15787660
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.28:1
Text on #FFFFFF
FAIL
16.40:1
Text on #000000
AAA
1.22:1
Text on #F8FAFC
FAIL
13.94:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0E68C;
}
.text-color {
color: #F0E68C;
}
.border-color {
border: 2px solid #F0E68C;
}