#CCC50F
A medium, vivid yellow closely aligning with Gold.
About #CCC50F
The precise color #CCC50F is an excellent choice for modern design projects. If you're using CSS, you might find it aligns closely with Gold. This translates to an RGB value of rgb(204, 197, 15).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 3% Magenta, 93% Yellow, and 20% Black. This makes it a relatively light color when applied to physical surfaces.
When using this color as a background, text legibility must be considered. Because it is a medium color, it is generally recommended to use #000000 text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#CCC50F
RGB204, 197, 15
HSL57.8°, 86.3%, 42.9%
CMYK0%, 3%, 93%, 20%
HSV57.8°, 92.6%, 80.0%
LAB77.8, -14.6, 76.9
XYZ45.0, 52.8, 8.3
Decimal13419791
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.82:1
Text on #FFFFFF
FAIL
11.56:1
Text on #000000
AAA
1.74:1
Text on #F8FAFC
FAIL
9.83:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #CCC50F;
}
.text-color {
color: #CCC50F;
}
.border-color {
border: 2px solid #CCC50F;
}