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