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