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