#e4df21
a balanced, electric yellow · cool · closest name: gold
RGB
228, 223, 33
HSL
59°, 78%, 51%
CMYK
0, 2, 86, 11
Luminance
0.6938
Every format
| HEX | #e4df21 |
| RGB | rgb(228, 223, 33) |
| HSL | hsl(59, 78%, 51%) |
| CMYK | cmyk(0%, 2%, 86%, 11%) |
| LAB | lab(86.7 -16.9 81.9) |
| LCH | lch(86.7 83.6 101.7) |
| OKLCH | oklch(0.879 0.184 107.9) |
Copy-ready code
/* CSS */
color: #e4df21;
background-color: #e4df21;
/* Tailwind (arbitrary) */
class="text-[#e4df21] bg-[#e4df21]"
/* SCSS */
$brand: #e4df21;
/* SwiftUI */
Color(red: 0.894, green: 0.875, blue: 0.129)
/* Android */
Color.parseColor("#e4df21")Accessibility — WCAG contrast
Aa
#e4df21 on white: 1.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#e4df21 on black: 14.88:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red89.4%
Green87.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta2.2%
Yellow85.5%
Key (black)10.6%
Color previews
#e4df21 text on a black background
contrast 14.88:1
Card sample
#e4df21 text on a white background
contrast 1.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #e4df21;
Background color
Panel with #e4df21 background
background-color: #e4df21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #e4df21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(228, 223, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(228, 223, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e4df21; background: linear-gradient(135deg, #e4df21, #67E421);