#F0F88A
A light, vivid yellow closely aligning with Khaki.
About #F0F88A
The hex code #F0F88A represents a beautifully specific shade of yellow. Designers often compare it to the standard color Khaki. This translates to an RGB value of rgb(240, 248, 138).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 3% cyan, 0% magenta, 44% yellow, and 3% black. With a hue angle of 64.4 degrees, it sits comfortably in the yellow spectrum.
Contrast ratios determine whether this color is safe for typography. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#F0F88A
RGB240, 248, 138
HSL64.4°, 88.7%, 75.7%
CMYK3%, 0%, 44%, 3%
HSV64.4°, 44.4%, 97.3%
LAB94.9, -18.1, 51.7
XYZ74.1, 87.5, 37.0
Decimal15792266
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.14:1
Text on #FFFFFF
FAIL
18.50:1
Text on #000000
AAA
1.08:1
Text on #F8FAFC
FAIL
15.73:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0F88A;
}
.text-color {
color: #F0F88A;
}
.border-color {
border: 2px solid #F0F88A;
}