#cccf0b
a dark, electric yellow · cool · closest name: gold
RGB
204, 207, 11
HSL
61°, 90%, 43%
CMYK
1, 0, 95, 19
Luminance
0.5749
Every format
| HEX | #cccf0b |
| RGB | rgb(204, 207, 11) |
| HSL | hsl(61, 90%, 43%) |
| CMYK | cmyk(1%, 0%, 95%, 19%) |
| LAB | lab(80.5 -19.6 79.4) |
| LCH | lch(80.5 81.8 103.9) |
| OKLCH | oklch(0.825 0.180 110.8) |
Copy-ready code
/* CSS */
color: #cccf0b;
background-color: #cccf0b;
/* Tailwind (arbitrary) */
class="text-[#cccf0b] bg-[#cccf0b]"
/* SCSS */
$brand: #cccf0b;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.043)
/* Android */
Color.parseColor("#cccf0b")Accessibility — WCAG contrast
Aa
#cccf0b on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccf0b on black: 12.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green81.2%
Blue4.3%
CMYK percentages
Cyan1.4%
Magenta0.0%
Yellow94.7%
Key (black)18.8%
Color previews
#cccf0b text on a black background
contrast 12.50:1
Card sample
#cccf0b text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccf0b;
Background color
Panel with #cccf0b background
background-color: #cccf0b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccf0b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 207, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccf0b; background: linear-gradient(135deg, #cccf0b, #49CF0B);