#cccf32
a balanced, vivid yellow · cool · closest name: gold
RGB
204, 207, 50
HSL
61°, 62%, 50%
CMYK
1, 0, 76, 19
Luminance
0.5769
Every format
| HEX | #cccf32 |
| RGB | rgb(204, 207, 50) |
| HSL | hsl(61, 62%, 50%) |
| CMYK | cmyk(1%, 0%, 76%, 19%) |
| LAB | lab(80.6 -18.6 71.6) |
| LCH | lch(80.6 74.0 104.6) |
| OKLCH | oklch(0.826 0.167 110.7) |
Copy-ready code
/* CSS */
color: #cccf32;
background-color: #cccf32;
/* Tailwind (arbitrary) */
class="text-[#cccf32] bg-[#cccf32]"
/* SCSS */
$brand: #cccf32;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.196)
/* Android */
Color.parseColor("#cccf32")Accessibility — WCAG contrast
Aa
#cccf32 on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccf32 on black: 12.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green81.2%
Blue19.6%
CMYK percentages
Cyan1.4%
Magenta0.0%
Yellow75.8%
Key (black)18.8%
Color previews
#cccf32 text on a black background
contrast 12.54:1
Card sample
#cccf32 text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccf32;
Background color
Panel with #cccf32 background
background-color: #cccf32;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccf32;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 207, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccf32; background: linear-gradient(135deg, #cccf32, #63CF32);