#cdda22
a balanced, vivid yellow · cool · closest name: yellow
RGB
205, 218, 34
HSL
64°, 73%, 49%
CMYK
6, 0, 84, 15
Luminance
0.6324
Every format
| HEX | #cdda22 |
| RGB | rgb(205, 218, 34) |
| HSL | hsl(64, 73%, 49%) |
| CMYK | cmyk(6%, 0%, 84%, 15%) |
| LAB | lab(83.6 -24.1 78.4) |
| LCH | lch(83.6 82.0 107.1) |
| OKLCH | oklch(0.850 0.184 114.1) |
Copy-ready code
/* CSS */
color: #cdda22;
background-color: #cdda22;
/* Tailwind (arbitrary) */
class="text-[#cdda22] bg-[#cdda22]"
/* SCSS */
$brand: #cdda22;
/* SwiftUI */
Color(red: 0.804, green: 0.855, blue: 0.133)
/* Android */
Color.parseColor("#cdda22")Accessibility — WCAG contrast
Aa
#cdda22 on white: 1.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdda22 on black: 13.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green85.5%
Blue13.3%
CMYK percentages
Cyan6.0%
Magenta0.0%
Yellow84.4%
Key (black)14.5%
Color previews
#cdda22 text on a black background
contrast 13.65:1
Card sample
#cdda22 text on a white background
contrast 1.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdda22;
Background color
Panel with #cdda22 background
background-color: #cdda22;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdda22;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 218, 34, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 218, 34, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdda22; background: linear-gradient(135deg, #cdda22, #52DA22);