Skip to content

#eaf577

a light, electric yellow · cool · closest name: khaki

RGB
234, 245, 119
HSL
65°, 86%, 71%
CMYK
5, 0, 51, 4
Luminance
0.8413

Every format

HEX#eaf577
RGBrgb(234, 245, 119)
HSLhsl(65, 86%, 71%)
CMYKcmyk(5%, 0%, 51%, 4%)
LABlab(93.5 -20.7 58.7)
LCHlch(93.5 62.2 109.4)
OKLCHoklch(0.937 0.150 113.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eaf577 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#eaf577 on black: 17.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green96.1%
Blue46.7%

CMYK percentages

Cyan4.5%
Magenta0.0%
Yellow51.4%
Key (black)3.9%

Color previews

#eaf577 text on a black background

contrast 17.83:1

Card sample

#eaf577 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(234, 245, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 245, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eaf577;
background: linear-gradient(135deg, #eaf577, #96F577);

Monochromatic scale

Palettes built from #eaf577

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eaf577 in the Color Lab