#eafb21
a balanced, electric yellow · cool · closest name: yellow
RGB
234, 251, 33
HSL
65°, 97%, 56%
CMYK
7, 0, 87, 2
Luminance
0.8660
Every format
| HEX | #eafb21 |
| RGB | rgb(234, 251, 33) |
| HSL | hsl(65, 97%, 56%) |
| CMYK | cmyk(7%, 0%, 87%, 2%) |
| LAB | lab(94.6 -27.9 88.4) |
| LCH | lch(94.6 92.7 107.5) |
| OKLCH | oklch(0.944 0.208 114.7) |
Copy-ready code
/* CSS */
color: #eafb21;
background-color: #eafb21;
/* Tailwind (arbitrary) */
class="text-[#eafb21] bg-[#eafb21]"
/* SCSS */
$brand: #eafb21;
/* SwiftUI */
Color(red: 0.918, green: 0.984, blue: 0.129)
/* Android */
Color.parseColor("#eafb21")Accessibility — WCAG contrast
Aa
#eafb21 on white: 1.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eafb21 on black: 18.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red91.8%
Green98.4%
Blue12.9%
CMYK percentages
Cyan6.8%
Magenta0.0%
Yellow86.9%
Key (black)1.6%
Color previews
#eafb21 text on a black background
contrast 18.32:1
Card sample
#eafb21 text on a white background
contrast 1.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eafb21;
Background color
Panel with #eafb21 background
background-color: #eafb21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eafb21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(234, 251, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 251, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eafb21; background: linear-gradient(135deg, #eafb21, #59FB21);