#F0F87C
A light, vivid yellow closely aligning with Khaki.
About #F0F87C
The hex code #F0F87C represents a beautifully specific shade of yellow. Designers often compare it to the standard color Khaki. In the RGB color space, it consists of 240 red, 248 green, and 124 blue.
For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 3% C, 0% M, 50% Y, and 3% K. 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. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#F0F87C
RGB240, 248, 124
HSL63.9°, 89.9%, 72.9%
CMYK3%, 0%, 50%, 3%
HSV63.9°, 50.0%, 97.3%
LAB94.8, -19.3, 58.0
XYZ73.1, 87.1, 32.0
Decimal15792252
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.14:1
Text on #FFFFFF
FAIL
18.42:1
Text on #000000
AAA
1.09:1
Text on #F8FAFC
FAIL
15.66:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0F87C;
}
.text-color {
color: #F0F87C;
}
.border-color {
border: 2px solid #F0F87C;
}