#def539
a balanced, electric yellow · cool · closest name: yellow
RGB
222, 245, 57
HSL
67°, 90%, 59%
CMYK
9, 0, 77, 4
Luminance
0.8113
Every format
| HEX | #def539 |
| RGB | rgb(222, 245, 57) |
| HSL | hsl(67, 90%, 59%) |
| CMYK | cmyk(9%, 0%, 77%, 4%) |
| LAB | lab(92.2 -29.2 80.6) |
| LCH | lch(92.2 85.7 109.9) |
| OKLCH | oklch(0.923 0.197 116.7) |
Copy-ready code
/* CSS */
color: #def539;
background-color: #def539;
/* Tailwind (arbitrary) */
class="text-[#def539] bg-[#def539]"
/* SCSS */
$brand: #def539;
/* SwiftUI */
Color(red: 0.871, green: 0.961, blue: 0.224)
/* Android */
Color.parseColor("#def539")Accessibility — WCAG contrast
Aa
#def539 on white: 1.22:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def539 on black: 17.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green96.1%
Blue22.4%
CMYK percentages
Cyan9.4%
Magenta0.0%
Yellow76.7%
Key (black)3.9%
Color previews
#def539 text on a black background
contrast 17.23:1
Card sample
#def539 text on a white background
contrast 1.22:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def539;
Background color
Panel with #def539 background
background-color: #def539;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def539;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 245, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 245, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def539; background: linear-gradient(135deg, #def539, #61F539);