#F8E266
A light, vivid yellow closely aligning with Khaki.
About #F8E266
When working with digital screens, the color #F8E266 is rendered by mixing light. If you're using CSS, you might find it aligns closely with Khaki. Its digital footprint relies on 248 parts red, 226 parts green, and 102 parts blue light.
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 0% C, 9% M, 59% Y, and 3% K. With a hue angle of 51.0 degrees, it sits comfortably in the yellow spectrum.
From a UX and accessibility standpoint, contrast is paramount. 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#F8E266
RGB248, 226, 102
HSL51.0°, 91.3%, 68.6%
CMYK0%, 9%, 59%, 3%
HSV51.0°, 58.9%, 97.3%
LAB89.5, -7.0, 62.0
XYZ68.3, 75.3, 23.5
Decimal16310886
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.31:1
Text on #FFFFFF
FAIL
16.06:1
Text on #000000
AAA
1.25:1
Text on #F8FAFC
FAIL
13.65:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F8E266;
}
.text-color {
color: #F8E266;
}
.border-color {
border: 2px solid #F8E266;
}