#deef21
a balanced, electric yellow · cool · closest name: yellow
RGB
222, 239, 33
HSL
65°, 87%, 53%
CMYK
7, 0, 86, 6
Luminance
0.7737
Every format
| HEX | #deef21 |
| RGB | rgb(222, 239, 33) |
| HSL | hsl(65, 87%, 53%) |
| CMYK | cmyk(7%, 0%, 86%, 6%) |
| LAB | lab(90.5 -27.1 84.8) |
| LCH | lch(90.5 89.0 107.7) |
| OKLCH | oklch(0.909 0.200 114.9) |
Copy-ready code
/* CSS */
color: #deef21;
background-color: #deef21;
/* Tailwind (arbitrary) */
class="text-[#deef21] bg-[#deef21]"
/* SCSS */
$brand: #deef21;
/* SwiftUI */
Color(red: 0.871, green: 0.937, blue: 0.129)
/* Android */
Color.parseColor("#deef21")Accessibility — WCAG contrast
Aa
#deef21 on white: 1.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#deef21 on black: 16.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green93.7%
Blue12.9%
CMYK percentages
Cyan7.1%
Magenta0.0%
Yellow86.2%
Key (black)6.3%
Color previews
#deef21 text on a black background
contrast 16.47:1
Card sample
#deef21 text on a white background
contrast 1.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #deef21;
Background color
Panel with #deef21 background
background-color: #deef21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #deef21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #deef21; background: linear-gradient(135deg, #deef21, #54EF21);