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