#def721
a balanced, electric yellow · cool · closest name: yellow
RGB
222, 247, 33
HSL
67°, 93%, 55%
CMYK
10, 0, 87, 3
Luminance
0.8216
Every format
| HEX | #def721 |
| RGB | rgb(222, 247, 33) |
| HSL | hsl(67, 93%, 55%) |
| CMYK | cmyk(10%, 0%, 87%, 3%) |
| LAB | lab(92.7 -30.8 86.5) |
| LCH | lch(92.7 91.8 109.6) |
| OKLCH | oklch(0.926 0.208 117.0) |
Copy-ready code
/* CSS */
color: #def721;
background-color: #def721;
/* Tailwind (arbitrary) */
class="text-[#def721] bg-[#def721]"
/* SCSS */
$brand: #def721;
/* SwiftUI */
Color(red: 0.871, green: 0.969, blue: 0.129)
/* Android */
Color.parseColor("#def721")Accessibility — WCAG contrast
Aa
#def721 on white: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def721 on black: 17.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green96.9%
Blue12.9%
CMYK percentages
Cyan10.1%
Magenta0.0%
Yellow86.6%
Key (black)3.1%
Color previews
#def721 text on a black background
contrast 17.43:1
Card sample
#def721 text on a white background
contrast 1.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def721;
Background color
Panel with #def721 background
background-color: #def721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 247, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 247, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def721; background: linear-gradient(135deg, #def721, #4FF721);