#CCCC00 color codes
- HEX
- #CCCC00
- HEX8
- #CCCC00FF
- HEX8 (Android)
- #FFCCCC00
- RGB
- rgb(204, 204, 0)
- RGB (%)
- 80%, 80%, 0%
- HSL
- hsl(60, 100%, 40%)
- HSV / HSB
- hsv(60, 100%, 80%)
- CMYK
- cmyk(0%, 0%, 100%, 20%)
- OKLCH
- oklch(0.8182 0.1783 109.77)
- OKLCH (%)
- oklch(81.82% 0.1783 109.77)
- Decimal
- 13421568
What color is #CCCC00?
#CCCC00 sits at 82% lightness and 0.1783 chroma in OKLCH, hue 109.77°. Its nearest named color is Gold.
Shades and tints of #CCCC00
Tints
Shades
Tones
#CCCC00 color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #CCCC00 in CSS
.text { color: #CCCC00; }
.background { background-color: #CCCC00; }
.border { border: 2px solid #CCCC00; }
/* Modern, perceptually uniform */
.text { color: oklch(0.8182 0.1783 109.77); }
/* #CCCC00 at 50% transparency */
.overlay { background-color: #CCCC0080; }Is #CCCC00 accessible?
#CCCC00 on white text scores 1.72:1; on black text it scores 12.20:1. Black text passes WCAG AAA on #CCCC00. Recommended text color on a #CCCC00 background: black.
A 12.2:1 vs black
A 1.72:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Pass
- AAA large ≥ 4.5 Pass
Recommended text color: black
CSS
contrast-color() contrast-color(#CCCC00) → black APCA Lc experimental 73 Lc · large / secondary text (black text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
See more in the gold family on the colors hub.
Frequently asked questions
- What color is #CCCC00?
- #CCCC00 is closest to Gold. In RGB it is rgb(204, 204, 0), and in HSL hsl(60, 100%, 40%).
- What is #CCCC00 in RGB?
- #CCCC00 converts to rgb(204, 204, 0) — red 204, green 204, blue 0.
- What text color is readable on #CCCC00?
- Black text — it has the higher contrast ratio (12.20:1) against #CCCC00. Black text passes WCAG AAA on #CCCC00.