Skip to content

#e2fab7

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

RGB
226, 250, 183
HSL
82°, 87%, 85%
CMYK
10, 0, 27, 2
Luminance
0.8796

Every format

HEX#e2fab7
RGBrgb(226, 250, 183)
HSLhsl(82, 87%, 85%)
CMYKcmyk(10%, 0%, 27%, 2%)
LABlab(95.1 -18.9 29.6)
LCHlch(95.1 35.1 122.5)
OKLCHoklch(0.951 0.090 124.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2fab7 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#e2fab7 on black: 18.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green98.0%
Blue71.8%

CMYK percentages

Cyan9.6%
Magenta0.0%
Yellow26.8%
Key (black)2.0%

Color previews

#e2fab7 text on a black background

contrast 18.59:1

Card sample

#e2fab7 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(226, 250, 183, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(226, 250, 183, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e2fab7;
background: linear-gradient(135deg, #e2fab7, #B7FAB9);

Monochromatic scale

Palettes built from #e2fab7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2fab7 in the Color Lab