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