Skip to content

#e4ef1f

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

RGB
228, 239, 31
HSL
63°, 87%, 53%
CMYK
5, 0, 87, 6
Luminance
0.7833

Every format

HEX#e4ef1f
RGBrgb(228, 239, 31)
HSLhsl(63, 87%, 53%)
CMYKcmyk(5%, 0%, 87%, 6%)
LABlab(90.9 -24.7 85.7)
LCHlch(90.9 89.1 106.1)
OKLCHoklch(0.913 0.199 113.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4ef1f on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#e4ef1f on black: 16.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green93.7%
Blue12.2%

CMYK percentages

Cyan4.6%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#e4ef1f text on a black background

contrast 16.67:1

Card sample

#e4ef1f text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(228, 239, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(228, 239, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e4ef1f;
background: linear-gradient(135deg, #e4ef1f, #59EF1F);

Monochromatic scale

Palettes built from #e4ef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4ef1f in the Color Lab