#F0E21D
A medium, vivid yellow closely aligning with Gold.
About #F0E21D
Visually, #F0E21D is defined as a vivid yellow. It is closely associated with the named CSS color Gold. This translates to an RGB value of rgb(240, 226, 29).
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 0% Cyan, 6% Magenta, 88% Yellow, and 6% Black. This makes it a relatively light color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. The calculated luminance score dictates that #000000 typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#F0E21D
RGB240, 226, 29
HSL56.0°, 87.6%, 52.7%
CMYK0%, 6%, 88%, 6%
HSV56.0°, 87.9%, 94.1%
LAB88.5, -13.5, 84.4
XYZ63.4, 73.0, 11.9
Decimal15786525
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.35:1
Text on #FFFFFF
FAIL
15.60:1
Text on #000000
AAA
1.29:1
Text on #F8FAFC
FAIL
13.26:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0E21D;
}
.text-color {
color: #F0E21D;
}
.border-color {
border: 2px solid #F0E21D;
}