#F0DB42
A light, vivid yellow closely aligning with Gold.
About #F0DB42
The hex code #F0DB42 represents a beautifully specific shade of yellow. It is closely associated with the named CSS color Gold. This translates to an RGB value of rgb(240, 219, 66).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 0% C, 9% M, 72% Y, and 6% K. Always request a physical proof before doing a large print run with this exact code.
Contrast ratios determine whether this color is safe for typography. Because it is a light color, it is generally recommended to use #000000 text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#F0DB42
RGB240, 219, 66
HSL52.8°, 85.3%, 60.0%
CMYK0%, 9%, 72%, 6%
HSV52.8°, 72.5%, 94.1%
LAB86.8, -8.9, 73.2
XYZ62.3, 69.6, 15.3
Decimal15784770
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.41:1
Text on #FFFFFF
FAIL
14.92:1
Text on #000000
AAA
1.35:1
Text on #F8FAFC
FAIL
12.68:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0DB42;
}
.text-color {
color: #F0DB42;
}
.border-color {
border: 2px solid #F0DB42;
}