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