#e1f310
a balanced, electric yellow · cool · closest name: yellow
RGB
225, 243, 16
HSL
65°, 90%, 51%
CMYK
7, 0, 93, 5
Luminance
0.8015
Every format
| HEX | #e1f310 |
| RGB | rgb(225, 243, 16) |
| HSL | hsl(65, 90%, 51%) |
| CMYK | cmyk(7%, 0%, 93%, 5%) |
| LAB | lab(91.8 -28.0 88.2) |
| LCH | lch(91.8 92.6 107.6) |
| OKLCH | oklch(0.919 0.207 115.1) |
Copy-ready code
/* CSS */
color: #e1f310;
background-color: #e1f310;
/* Tailwind (arbitrary) */
class="text-[#e1f310] bg-[#e1f310]"
/* SCSS */
$brand: #e1f310;
/* SwiftUI */
Color(red: 0.882, green: 0.953, blue: 0.063)
/* Android */
Color.parseColor("#e1f310")Accessibility — WCAG contrast
Aa
#e1f310 on white: 1.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#e1f310 on black: 17.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red88.2%
Green95.3%
Blue6.3%
CMYK percentages
Cyan7.4%
Magenta0.0%
Yellow93.4%
Key (black)4.7%
Color previews
#e1f310 text on a black background
contrast 17.03:1
Card sample
#e1f310 text on a white background
contrast 1.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #e1f310;
Background color
Panel with #e1f310 background
background-color: #e1f310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #e1f310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(225, 243, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(225, 243, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e1f310; background: linear-gradient(135deg, #e1f310, #4AF310);