#ccc013
a dark, electric yellow · cool · closest name: gold
RGB
204, 192, 19
HSL
56°, 83%, 44%
CMYK
0, 6, 91, 20
Luminance
0.5058
Every format
| HEX | #ccc013 |
| RGB | rgb(204, 192, 19) |
| HSL | hsl(56, 83%, 44%) |
| CMYK | cmyk(0%, 6%, 91%, 20%) |
| LAB | lab(76.4 -12.0 75.3) |
| LCH | lch(76.4 76.3 99.0) |
| OKLCH | oklch(0.793 0.165 104.9) |
Copy-ready code
/* CSS */
color: #ccc013;
background-color: #ccc013;
/* Tailwind (arbitrary) */
class="text-[#ccc013] bg-[#ccc013]"
/* SCSS */
$brand: #ccc013;
/* SwiftUI */
Color(red: 0.800, green: 0.753, blue: 0.075)
/* Android */
Color.parseColor("#ccc013")Accessibility — WCAG contrast
Aa
#ccc013 on white: 1.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc013 on black: 11.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green75.3%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta5.9%
Yellow90.7%
Key (black)20.0%
Color previews
#ccc013 text on a black background
contrast 11.12:1
Card sample
#ccc013 text on a white background
contrast 1.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc013;
Background color
Panel with #ccc013 background
background-color: #ccc013;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc013;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 192, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 192, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc013; background: linear-gradient(135deg, #ccc013, #5DCC13);