Skip to content

#eaf20d

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

RGB
234, 242, 13
HSL
62°, 90%, 50%
CMYK
3, 0, 95, 5
Luminance
0.8103

Every format

HEX#eaf20d
RGBrgb(234, 242, 13)
HSLhsl(62, 90%, 50%)
CMYKcmyk(3%, 0%, 95%, 5%)
LABlab(92.1 -23.9 89.1)
LCHlch(92.1 92.3 105.0)
OKLCHoklch(0.924 0.203 112.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eaf20d on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#eaf20d on black: 17.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green94.9%
Blue5.1%

CMYK percentages

Cyan3.3%
Magenta0.0%
Yellow94.6%
Key (black)5.1%

Color previews

#eaf20d text on a black background

contrast 17.21:1

Card sample

#eaf20d text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(234, 242, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 242, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eaf20d;
background: linear-gradient(135deg, #eaf20d, #51F20D);

Monochromatic scale

Palettes built from #eaf20d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eaf20d in the Color Lab