Skip to content

#e1f8af

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

RGB
225, 248, 175
HSL
79°, 84%, 83%
CMYK
9, 0, 29, 3
Luminance
0.8624

Every format

HEX#e1f8af
RGBrgb(225, 248, 175)
HSLhsl(79, 84%, 83%)
CMYKcmyk(9%, 0%, 29%, 3%)
LABlab(94.4 -19.4 32.7)
LCHlch(94.4 38.0 120.7)
OKLCHoklch(0.945 0.097 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e1f8af on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#e1f8af on black: 18.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.2%
Green97.3%
Blue68.6%

CMYK percentages

Cyan9.3%
Magenta0.0%
Yellow29.4%
Key (black)2.7%

Color previews

#e1f8af text on a black background

contrast 18.25:1

Card sample

#e1f8af text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(225, 248, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(225, 248, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e1f8af;
background: linear-gradient(135deg, #e1f8af, #B0F8AF);

Monochromatic scale

Palettes built from #e1f8af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e1f8af in the Color Lab