#F0E27C
A light, vivid yellow closely aligning with Khaki.
About #F0E27C
Visually, #F0E27C is defined as a vivid yellow. Designers often compare it to the standard color Khaki. To achieve this exact tint on a monitor, you would use an RGB mix of 240, 226, and 124.
If you are designing for print, the four-color process is what matters most. The color uses 0% Cyan, 6% Magenta, 48% Yellow, and 6% Black. This makes it a relatively light color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. 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#F0E27C
RGB240, 226, 124
HSL52.8°, 79.5%, 71.4%
CMYK0%, 6%, 48%, 6%
HSV52.8°, 48.3%, 94.1%
LAB89.1, -8.5, 51.2
XYZ66.8, 74.4, 29.9
Decimal15786620
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.32:1
Text on #FFFFFF
FAIL
15.87:1
Text on #000000
AAA
1.26:1
Text on #F8FAFC
FAIL
13.50:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0E27C;
}
.text-color {
color: #F0E27C;
}
.border-color {
border: 2px solid #F0E27C;
}