#F8F87C
A light, vivid yellow closely aligning with Khaki.
About #F8F87C
Visually, #F8F87C is defined as a vivid yellow. Its closest recognized web color is Khaki. In the RGB color space, it consists of 248 red, 248 green, and 124 blue.
If you are designing for print, the four-color process is what matters most. Its ink density profile breaks down to 0% cyan, 0% magenta, 50% yellow, and 3% black. With a hue angle of 60.0 degrees, it sits comfortably in the yellow spectrum.
Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#F8F87C
RGB248, 248, 124
HSL60.0°, 89.9%, 72.9%
CMYK0%, 0%, 50%, 3%
HSV60.0°, 50.0%, 97.3%
LAB95.4, -16.2, 58.9
XYZ75.9, 88.5, 32.2
Decimal16316540
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.12:1
Text on #FFFFFF
FAIL
18.71:1
Text on #000000
AAA
1.07:1
Text on #F8FAFC
FAIL
15.91:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F8F87C;
}
.text-color {
color: #F8F87C;
}
.border-color {
border: 2px solid #F8F87C;
}