Skip to content

#e1ff21

a balanced, electric yellow · cool · closest name: yellow

RGB
225, 255, 33
HSL
68°, 100%, 57%
CMYK
12, 0, 87, 0
Luminance
0.8764

Every format

HEX#e1ff21
RGBrgb(225, 255, 33)
HSLhsl(68, 100%, 57%)
CMYKcmyk(12%, 0%, 87%, 0%)
LABlab(95.0 -33.3 88.5)
LCHlch(95.0 94.6 110.6)
OKLCHoklch(0.946 0.215 118.2)

Copy-ready code

/* CSS */
color: #e1ff21;
background-color: #e1ff21;
/* Tailwind (arbitrary) */
class="text-[#e1ff21] bg-[#e1ff21]"
/* SCSS */
$brand: #e1ff21;
/* SwiftUI */
Color(red: 0.882, green: 1.000, blue: 0.129)
/* Android */
Color.parseColor("#e1ff21")

Accessibility — WCAG contrast

Aa
#e1ff21 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#e1ff21 on black: 18.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.2%
Green100.0%
Blue12.9%

CMYK percentages

Cyan11.8%
Magenta0.0%
Yellow87.1%
Key (black)0.0%

Color previews

#e1ff21 text on a black background

contrast 18.53:1

Card sample

#e1ff21 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #e1ff21;
Background color
Panel with #e1ff21 background
background-color: #e1ff21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #e1ff21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(225, 255, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(225, 255, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e1ff21;
background: linear-gradient(135deg, #e1ff21, #4DFF21);

Monochromatic scale

Palettes built from #e1ff21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e1ff21 in the Color Lab