#cccb13
a dark, electric yellow · cool · closest name: gold
RGB
204, 203, 19
HSL
60°, 83%, 44%
CMYK
0, 1, 91, 20
Luminance
0.5560
Every format
| HEX | #cccb13 |
| RGB | rgb(204, 203, 19) |
| HSL | hsl(60, 83%, 44%) |
| CMYK | cmyk(0%, 1%, 91%, 20%) |
| LAB | lab(79.4 -17.5 77.6) |
| LCH | lch(79.4 79.6 102.7) |
| OKLCH | oklch(0.816 0.174 109.4) |
Copy-ready code
/* CSS */
color: #cccb13;
background-color: #cccb13;
/* Tailwind (arbitrary) */
class="text-[#cccb13] bg-[#cccb13]"
/* SCSS */
$brand: #cccb13;
/* SwiftUI */
Color(red: 0.800, green: 0.796, blue: 0.075)
/* Android */
Color.parseColor("#cccb13")Accessibility — WCAG contrast
Aa
#cccb13 on white: 1.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccb13 on black: 12.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green79.6%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta0.5%
Yellow90.7%
Key (black)20.0%
Color previews
#cccb13 text on a black background
contrast 12.12:1
Card sample
#cccb13 text on a white background
contrast 1.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccb13;
Background color
Panel with #cccb13 background
background-color: #cccb13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccb13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 203, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 203, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccb13; background: linear-gradient(135deg, #cccb13, #52CC13);