Skip to content

#e1ffab

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

RGB
225, 255, 171
HSL
81°, 100%, 84%
CMYK
12, 0, 33, 0
Luminance
0.9047

Every format

HEX#e1ffab
RGBrgb(225, 255, 171)
HSLhsl(81, 100%, 84%)
CMYKcmyk(12%, 0%, 33%, 0%)
LABlab(96.2 -23.3 37.0)
LCHlch(96.2 43.7 122.1)
OKLCHoklch(0.959 0.112 124.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e1ffab on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#e1ffab on black: 19.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.2%
Green100.0%
Blue67.1%

CMYK percentages

Cyan11.8%
Magenta0.0%
Yellow32.9%
Key (black)0.0%

Color previews

#e1ffab text on a black background

contrast 19.09:1

Card sample

#e1ffab text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e1ffab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e1ffab in the Color Lab