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