#cecc01
a dark, electric yellow · cool · closest name: gold
RGB
206, 204, 1
HSL
59°, 99%, 41%
CMYK
0, 1, 100, 19
Luminance
0.5631
Every format
| HEX | #cecc01 |
| RGB | rgb(206, 204, 1) |
| HSL | hsl(59, 99%, 41%) |
| CMYK | cmyk(0%, 1%, 100%, 19%) |
| LAB | lab(79.8 -17.4 80.0) |
| LCH | lch(79.8 81.8 102.2) |
| OKLCH | oklch(0.820 0.178 109.0) |
Copy-ready code
/* CSS */
color: #cecc01;
background-color: #cecc01;
/* Tailwind (arbitrary) */
class="text-[#cecc01] bg-[#cecc01]"
/* SCSS */
$brand: #cecc01;
/* SwiftUI */
Color(red: 0.808, green: 0.800, blue: 0.004)
/* Android */
Color.parseColor("#cecc01")Accessibility — WCAG contrast
Aa
#cecc01 on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cecc01 on black: 12.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green80.0%
Blue0.4%
CMYK percentages
Cyan0.0%
Magenta1.0%
Yellow99.5%
Key (black)19.2%
Color previews
#cecc01 text on a black background
contrast 12.26:1
Card sample
#cecc01 text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cecc01;
Background color
Panel with #cecc01 background
background-color: #cecc01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cecc01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 204, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 204, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cecc01; background: linear-gradient(135deg, #cecc01, #47CE01);