#F0F8A8
A very light, vivid yellow closely aligning with Khaki.
About #F0F8A8
The precise color #F0F8A8 is an excellent choice for modern design projects. Its closest recognized web color is Khaki. In the RGB color space, it consists of 240 red, 248 green, and 168 blue.
If you are designing for print, the four-color process is what matters most. To reproduce this shade on paper, a printer utilizes 3% cyan and 0% magenta inks. With a hue angle of 66.0 degrees, it sits comfortably in the yellow spectrum.
From a UX and accessibility standpoint, contrast is paramount. Because it is a very 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#F0F8A8
RGB240, 248, 168
HSL66.0°, 85.1%, 81.6%
CMYK3%, 0%, 32%, 3%
HSV66.0°, 32.3%, 97.3%
LAB95.4, -14.8, 37.6
XYZ76.6, 88.5, 50.1
Decimal15792296
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.12:1
Text on #FFFFFF
FAIL
18.70:1
Text on #000000
AAA
1.07:1
Text on #F8FAFC
FAIL
15.90:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0F8A8;
}
.text-color {
color: #F0F8A8;
}
.border-color {
border: 2px solid #F0F8A8;
}