#F0C52C
A medium, vivid yellow closely aligning with Gold.
About #F0C52C
The precise color #F0C52C is an excellent choice for modern design projects. Its closest recognized web color is Gold. Its digital footprint relies on 240 parts red, 197 parts green, and 44 parts blue light.
Translating this color to physical media requires the CMYK color model. The color uses 0% Cyan, 18% Magenta, 82% Yellow, and 6% Black. The HSL representation is 46.8° hue, 86.7% saturation, and 55.7% lightness.
When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#F0C52C
RGB240, 197, 44
HSL46.8°, 86.7%, 55.7%
CMYK0%, 18%, 82%, 6%
HSV46.8°, 81.7%, 94.1%
LAB81.1, 1.5, 75.0
XYZ56.4, 58.6, 10.7
Decimal15779116
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.65:1
Text on #FFFFFF
FAIL
12.73:1
Text on #000000
AAA
1.58:1
Text on #F8FAFC
FAIL
10.82:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0C52C;
}
.text-color {
color: #F0C52C;
}
.border-color {
border: 2px solid #F0C52C;
}