#F8F066
A light, vivid yellow closely aligning with Khaki.
About #F8F066
When working with digital screens, the color #F8F066 is rendered by mixing light. It is closely associated with the named CSS color Khaki. In the RGB color space, it consists of 248 red, 240 green, and 102 blue.
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 0% C, 3% M, 59% Y, and 3% K. The HSL representation is 56.7° hue, 91.3% saturation, and 68.6% lightness.
When using this color as a background, text legibility must be considered. To prevent eye strain, #000000 text pairs best with this hex code. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#F8F066
RGB248, 240, 102
HSL56.7°, 91.3%, 68.6%
CMYK0%, 3%, 59%, 3%
HSV56.7°, 58.9%, 97.3%
LAB93.1, -14.0, 65.9
XYZ72.3, 83.2, 24.8
Decimal16314470
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.19:1
Text on #FFFFFF
FAIL
17.65:1
Text on #000000
AAA
1.14:1
Text on #F8FAFC
FAIL
15.00:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F8F066;
}
.text-color {
color: #F8F066;
}
.border-color {
border: 2px solid #F8F066;
}