#cddf34
a balanced, vivid yellow · cool · closest name: yellow
RGB
205, 223, 52
HSL
66°, 73%, 54%
CMYK
8, 0, 77, 13
Luminance
0.6600
Every format
| HEX | #cddf34 |
| RGB | rgb(205, 223, 52) |
| HSL | hsl(66, 73%, 54%) |
| CMYK | cmyk(8%, 0%, 77%, 13%) |
| LAB | lab(85.0 -25.9 75.0) |
| LCH | lch(85.0 79.4 109.0) |
| OKLCH | oklch(0.862 0.182 115.7) |
Copy-ready code
/* CSS */
color: #cddf34;
background-color: #cddf34;
/* Tailwind (arbitrary) */
class="text-[#cddf34] bg-[#cddf34]"
/* SCSS */
$brand: #cddf34;
/* SwiftUI */
Color(red: 0.804, green: 0.875, blue: 0.204)
/* Android */
Color.parseColor("#cddf34")Accessibility — WCAG contrast
Aa
#cddf34 on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cddf34 on black: 14.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green87.5%
Blue20.4%
CMYK percentages
Cyan8.1%
Magenta0.0%
Yellow76.7%
Key (black)12.5%
Color previews
#cddf34 text on a black background
contrast 14.20:1
Card sample
#cddf34 text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cddf34;
Background color
Panel with #cddf34 background
background-color: #cddf34;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cddf34;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 223, 52, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 223, 52, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cddf34; background: linear-gradient(135deg, #cddf34, #5BDF34);