#ccdf01
a dark, electric yellow · cool · closest name: yellow
RGB
204, 223, 1
HSL
65°, 99%, 44%
CMYK
9, 0, 100, 13
Luminance
0.6561
Every format
| HEX | #ccdf01 |
| RGB | rgb(204, 223, 1) |
| HSL | hsl(65, 99%, 44%) |
| CMYK | cmyk(9%, 0%, 100%, 13%) |
| LAB | lab(84.8 -27.4 83.6) |
| LCH | lch(84.8 88.0 108.2) |
| OKLCH | oklch(0.860 0.196 115.8) |
Copy-ready code
/* CSS */
color: #ccdf01;
background-color: #ccdf01;
/* Tailwind (arbitrary) */
class="text-[#ccdf01] bg-[#ccdf01]"
/* SCSS */
$brand: #ccdf01;
/* SwiftUI */
Color(red: 0.800, green: 0.875, blue: 0.004)
/* Android */
Color.parseColor("#ccdf01")Accessibility — WCAG contrast
Aa
#ccdf01 on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccdf01 on black: 14.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green87.5%
Blue0.4%
CMYK percentages
Cyan8.5%
Magenta0.0%
Yellow99.6%
Key (black)12.5%
Color previews
#ccdf01 text on a black background
contrast 14.12:1
Card sample
#ccdf01 text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccdf01;
Background color
Panel with #ccdf01 background
background-color: #ccdf01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccdf01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 223, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf01; background: linear-gradient(135deg, #ccdf01, #38DF01);