#ccdf17
a balanced, electric yellow · cool · closest name: yellow
RGB
204, 223, 23
HSL
66°, 81%, 48%
CMYK
9, 0, 90, 13
Luminance
0.6567
Every format
| HEX | #ccdf17 |
| RGB | rgb(204, 223, 23) |
| HSL | hsl(66, 81%, 48%) |
| CMYK | cmyk(9%, 0%, 90%, 13%) |
| LAB | lab(84.8 -27.1 81.3) |
| LCH | lch(84.8 85.7 108.4) |
| OKLCH | oklch(0.860 0.193 115.9) |
Copy-ready code
/* CSS */
color: #ccdf17;
background-color: #ccdf17;
/* Tailwind (arbitrary) */
class="text-[#ccdf17] bg-[#ccdf17]"
/* SCSS */
$brand: #ccdf17;
/* SwiftUI */
Color(red: 0.800, green: 0.875, blue: 0.090)
/* Android */
Color.parseColor("#ccdf17")Accessibility — WCAG contrast
Aa
#ccdf17 on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccdf17 on black: 14.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green87.5%
Blue9.0%
CMYK percentages
Cyan8.5%
Magenta0.0%
Yellow89.7%
Key (black)12.5%
Color previews
#ccdf17 text on a black background
contrast 14.13:1
Card sample
#ccdf17 text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccdf17;
Background color
Panel with #ccdf17 background
background-color: #ccdf17;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccdf17;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 223, 23, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 23, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf17; background: linear-gradient(135deg, #ccdf17, #47DF17);