Skip to content

#e1ec21

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

RGB
225, 236, 33
HSL
63°, 84%, 53%
CMYK
5, 0, 86, 8
Luminance
0.7611

Every format

HEX#e1ec21
RGBrgb(225, 236, 33)
HSLhsl(63, 84%, 53%)
CMYKcmyk(5%, 0%, 86%, 8%)
LABlab(89.9 -24.5 84.4)
LCHlch(89.9 87.8 106.2)
OKLCHoklch(0.905 0.196 113.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e1ec21 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#e1ec21 on black: 16.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.2%
Green92.5%
Blue12.9%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow86.0%
Key (black)7.5%

Color previews

#e1ec21 text on a black background

contrast 16.22:1

Card sample

#e1ec21 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e1ec21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e1ec21 in the Color Lab