Skip to content

#e4eb2d

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

RGB
228, 235, 45
HSL
62°, 83%, 55%
CMYK
3, 0, 81, 8
Luminance
0.7610

Every format

HEX#e4eb2d
RGBrgb(228, 235, 45)
HSLhsl(62, 83%, 55%)
CMYKcmyk(3%, 0%, 81%, 8%)
LABlab(89.9 -22.4 81.9)
LCHlch(89.9 84.9 105.3)
OKLCHoklch(0.905 0.191 111.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red89.4%
Green92.2%
Blue17.6%

CMYK percentages

Cyan3.0%
Magenta0.0%
Yellow80.9%
Key (black)7.8%

Color previews

#e4eb2d text on a black background

contrast 16.22:1

Card sample

#e4eb2d text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(228, 235, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(228, 235, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e4eb2d;
background: linear-gradient(135deg, #e4eb2d, #65EB2D);

Monochromatic scale

Palettes built from #e4eb2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4eb2d in the Color Lab