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