#eabc21
a balanced, electric yellow · cool · closest name: gold
RGB
234, 188, 33
HSL
46°, 83%, 52%
CMYK
0, 20, 86, 8
Luminance
0.5357
Every format
| HEX | #eabc21 |
| RGB | rgb(234, 188, 33) |
| HSL | hsl(46, 83%, 52%) |
| CMYK | cmyk(0%, 20%, 86%, 8%) |
| LAB | lab(78.2 3.4 75.2) |
| LCH | lch(78.2 75.3 87.4) |
| OKLCH | oklch(0.814 0.160 90.0) |
Copy-ready code
/* CSS */
color: #eabc21;
background-color: #eabc21;
/* Tailwind (arbitrary) */
class="text-[#eabc21] bg-[#eabc21]"
/* SCSS */
$brand: #eabc21;
/* SwiftUI */
Color(red: 0.918, green: 0.737, blue: 0.129)
/* Android */
Color.parseColor("#eabc21")Accessibility — WCAG contrast
Aa
#eabc21 on white: 1.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eabc21 on black: 11.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red91.8%
Green73.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta19.7%
Yellow85.9%
Key (black)8.2%
Color previews
#eabc21 text on a black background
contrast 11.71:1
Card sample
#eabc21 text on a white background
contrast 1.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eabc21;
Background color
Panel with #eabc21 background
background-color: #eabc21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eabc21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(234, 188, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 188, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eabc21; background: linear-gradient(135deg, #eabc21, #92EA21);