#F8FF7C
A light, vivid yellow closely aligning with Khaki.
About #F8FF7C
The hex code #F8FF7C represents a beautifully specific shade of yellow. It is closely associated with the named CSS color Khaki. Its digital footprint relies on 248 parts red, 255 parts green, and 124 parts blue light.
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. This makes it a relatively light color when applied to physical surfaces.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #000000 text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#F8FF7C
RGB248, 255, 124
HSL63.2°, 100.0%, 74.3%
CMYK3%, 0%, 51%, 0%
HSV63.2°, 51.4%, 100.0%
LAB97.2, -19.6, 61.0
XYZ78.1, 92.9, 32.9
Decimal16318332
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.07:1
Text on #FFFFFF
FAIL
19.59:1
Text on #000000
AAA
1.02:1
Text on #F8FAFC
FAIL
16.65:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F8FF7C;
}
.text-color {
color: #F8FF7C;
}
.border-color {
border: 2px solid #F8FF7C;
}