#F8E966
A light, vivid yellow closely aligning with Khaki.
About #F8E966
When working with digital screens, the color #F8E966 is rendered by mixing light. It is closely associated with the named CSS color Khaki. In the RGB color space, it consists of 248 red, 233 green, and 102 blue.
If you are designing for print, the four-color process is what matters most. Its ink density profile breaks down to 0% cyan, 6% magenta, 59% yellow, and 3% 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. Because it is a light color, it is generally recommended to use #000000 text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#F8E966
RGB248, 233, 102
HSL53.8°, 91.3%, 68.6%
CMYK0%, 6%, 59%, 3%
HSV53.8°, 58.9%, 97.3%
LAB91.3, -10.5, 64.0
XYZ70.2, 79.2, 24.2
Decimal16312678
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.25:1
Text on #FFFFFF
FAIL
16.84:1
Text on #000000
AAA
1.19:1
Text on #F8FAFC
FAIL
14.31:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F8E966;
}
.text-color {
color: #F8E966;
}
.border-color {
border: 2px solid #F8E966;
}