#ccc20f
a dark, electric yellow · cool · closest name: gold
RGB
204, 194, 15
HSL
57°, 86%, 43%
CMYK
0, 5, 93, 20
Luminance
0.5146
Every format
| HEX | #ccc20f |
| RGB | rgb(204, 194, 15) |
| HSL | hsl(57, 86%, 43%) |
| CMYK | cmyk(0%, 5%, 93%, 20%) |
| LAB | lab(77.0 -13.1 76.3) |
| LCH | lch(77.0 77.4 99.7) |
| OKLCH | oklch(0.797 0.168 105.8) |
Copy-ready code
/* CSS */
color: #ccc20f;
background-color: #ccc20f;
/* Tailwind (arbitrary) */
class="text-[#ccc20f] bg-[#ccc20f]"
/* SCSS */
$brand: #ccc20f;
/* SwiftUI */
Color(red: 0.800, green: 0.761, blue: 0.059)
/* Android */
Color.parseColor("#ccc20f")Accessibility — WCAG contrast
Aa
#ccc20f on white: 1.86:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc20f on black: 11.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green76.1%
Blue5.9%
CMYK percentages
Cyan0.0%
Magenta4.9%
Yellow92.6%
Key (black)20.0%
Color previews
#ccc20f text on a black background
contrast 11.29:1
Card sample
#ccc20f text on a white background
contrast 1.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc20f;
Background color
Panel with #ccc20f background
background-color: #ccc20f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc20f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 194, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 194, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc20f; background: linear-gradient(135deg, #ccc20f, #58CC0F);