#e1e310
a balanced, electric yellow · cool · closest name: yellow
RGB
225, 227, 16
HSL
61°, 87%, 48%
CMYK
1, 0, 93, 11
Luminance
0.7098
Every format
| HEX | #e1e310 |
| RGB | rgb(225, 227, 16) |
| HSL | hsl(61, 87%, 48%) |
| CMYK | cmyk(1%, 0%, 93%, 11%) |
| LAB | lab(87.5 -20.4 85.0) |
| LCH | lch(87.5 87.4 103.5) |
| OKLCH | oklch(0.885 0.192 110.4) |
Copy-ready code
/* CSS */
color: #e1e310;
background-color: #e1e310;
/* Tailwind (arbitrary) */
class="text-[#e1e310] bg-[#e1e310]"
/* SCSS */
$brand: #e1e310;
/* SwiftUI */
Color(red: 0.882, green: 0.890, blue: 0.063)
/* Android */
Color.parseColor("#e1e310")Accessibility — WCAG contrast
Aa
#e1e310 on white: 1.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#e1e310 on black: 15.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red88.2%
Green89.0%
Blue6.3%
CMYK percentages
Cyan0.9%
Magenta0.0%
Yellow93.0%
Key (black)11.0%
Color previews
#e1e310 text on a black background
contrast 15.20:1
Card sample
#e1e310 text on a white background
contrast 1.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #e1e310;
Background color
Panel with #e1e310 background
background-color: #e1e310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #e1e310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(225, 227, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(225, 227, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e1e310; background: linear-gradient(135deg, #e1e310, #54E310);