#F0CC33
A medium, vivid yellow closely aligning with Gold.
About #F0CC33
The hex code #F0CC33 represents a beautifully specific shade of yellow. It is closely associated with the named CSS color Gold. Its digital footprint relies on 240 parts red, 204 parts green, and 51 parts blue light.
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 0% C, 15% M, 79% Y, and 6% K. The HSL representation is 48.6° hue, 86.3% saturation, and 57.1% lightness.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a medium color, it is generally recommended to use #000000 text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#F0CC33
RGB240, 204, 51
HSL48.6°, 86.3%, 57.1%
CMYK0%, 15%, 79%, 6%
HSV48.6°, 78.8%, 94.1%
LAB82.9, -1.8, 74.5
XYZ58.1, 62.0, 12.0
Decimal15780915
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.57:1
Text on #FFFFFF
FAIL
13.39:1
Text on #000000
AAA
1.50:1
Text on #F8FAFC
FAIL
11.38:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0CC33;
}
.text-color {
color: #F0CC33;
}
.border-color {
border: 2px solid #F0CC33;
}