#ccc32d
a balanced, vivid yellow · cool · closest name: gold
RGB
204, 195, 45
HSL
57°, 64%, 49%
CMYK
0, 4, 78, 20
Luminance
0.5206
Every format
| HEX | #ccc32d |
| RGB | rgb(204, 195, 45) |
| HSL | hsl(57, 64%, 49%) |
| CMYK | cmyk(0%, 4%, 78%, 20%) |
| LAB | lab(77.3 -12.8 70.2) |
| LCH | lch(77.3 71.3 100.4) |
| OKLCH | oklch(0.800 0.159 105.9) |
Copy-ready code
/* CSS */
color: #ccc32d;
background-color: #ccc32d;
/* Tailwind (arbitrary) */
class="text-[#ccc32d] bg-[#ccc32d]"
/* SCSS */
$brand: #ccc32d;
/* SwiftUI */
Color(red: 0.800, green: 0.765, blue: 0.176)
/* Android */
Color.parseColor("#ccc32d")Accessibility — WCAG contrast
Aa
#ccc32d on white: 1.84:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc32d on black: 11.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green76.5%
Blue17.6%
CMYK percentages
Cyan0.0%
Magenta4.4%
Yellow77.9%
Key (black)20.0%
Color previews
#ccc32d text on a black background
contrast 11.41:1
Card sample
#ccc32d text on a white background
contrast 1.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc32d;
Background color
Panel with #ccc32d background
background-color: #ccc32d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc32d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 195, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 195, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc32d; background: linear-gradient(135deg, #ccc32d, #6BCC2D);