#F8E27C
A light, vivid yellow closely aligning with Khaki.
About #F8E27C
The hex code #F8E27C represents a beautifully specific shade of yellow. It is closely associated with the named CSS color Khaki. This translates to an RGB value of rgb(248, 226, 124).
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 0% C, 9% M, 50% Y, and 3% K. Always request a physical proof before doing a large print run with this exact code.
From a UX and accessibility standpoint, contrast is paramount. The calculated luminance score dictates that #000000 typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#F8E27C
RGB248, 226, 124
HSL49.4°, 89.9%, 72.9%
CMYK0%, 9%, 50%, 3%
HSV49.4°, 50.0%, 97.3%
LAB89.8, -5.3, 52.2
XYZ69.5, 75.8, 30.0
Decimal16310908
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.30:1
Text on #FFFFFF
FAIL
16.16:1
Text on #000000
AAA
1.24:1
Text on #F8FAFC
FAIL
13.74:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F8E27C;
}
.text-color {
color: #F8E27C;
}
.border-color {
border: 2px solid #F8E27C;
}