#F0DB7C
A light, vivid yellow closely aligning with Khaki.
About #F0DB7C
When working with digital screens, the color #F0DB7C is rendered by mixing light. Its closest recognized web color is Khaki. Its digital footprint relies on 240 parts red, 219 parts green, and 124 parts blue light.
For print applications, it's crucial to understand its CMYK makeup. The color uses 0% Cyan, 9% Magenta, 48% Yellow, and 6% Black. The HSL representation is 49.1° hue, 79.5% saturation, and 71.4% lightness.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a light color, it is generally recommended to use #000000 text. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#F0DB7C
RGB240, 219, 124
HSL49.1°, 79.5%, 71.4%
CMYK0%, 9%, 48%, 6%
HSV49.1°, 48.3%, 94.1%
LAB87.3, -5.0, 49.0
XYZ64.9, 70.6, 29.3
Decimal15784828
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.39:1
Text on #FFFFFF
FAIL
15.13:1
Text on #000000
AAA
1.33:1
Text on #F8FAFC
FAIL
12.86:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0DB7C;
}
.text-color {
color: #F0DB7C;
}
.border-color {
border: 2px solid #F0DB7C;
}