#F0E95F
A light, vivid yellow closely aligning with Khaki.
About #F0E95F
The precise color #F0E95F is an excellent choice for modern design projects. It is closely associated with the named CSS color Khaki. In the RGB color space, it consists of 240 red, 233 green, and 95 blue.
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 0% cyan, 3% magenta, 60% yellow, and 6% black. This makes it a relatively light color when applied to physical surfaces.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #000000 typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#F0E95F
RGB240, 233, 95
HSL57.1°, 82.9%, 65.7%
CMYK0%, 3%, 60%, 6%
HSV57.1°, 60.4%, 94.1%
LAB90.6, -14.2, 66.0
XYZ67.1, 77.6, 22.3
Decimal15788383
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.27:1
Text on #FFFFFF
FAIL
16.53:1
Text on #000000
AAA
1.21:1
Text on #F8FAFC
FAIL
14.05:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0E95F;
}
.text-color {
color: #F0E95F;
}
.border-color {
border: 2px solid #F0E95F;
}