Skip to content

#e2f9af

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

RGB
226, 249, 175
HSL
79°, 86%, 83%
CMYK
9, 0, 30, 2
Luminance
0.8702

Every format

HEX#e2f9af
RGBrgb(226, 249, 175)
HSLhsl(79, 86%, 83%)
CMYKcmyk(9%, 0%, 30%, 2%)
LABlab(94.7 -19.5 33.1)
LCHlch(94.7 38.4 120.5)
OKLCHoklch(0.948 0.098 122.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2f9af on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#e2f9af on black: 18.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green97.6%
Blue68.6%

CMYK percentages

Cyan9.2%
Magenta0.0%
Yellow29.7%
Key (black)2.4%

Color previews

#e2f9af text on a black background

contrast 18.40:1

Card sample

#e2f9af text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2f9af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2f9af in the Color Lab