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