Skip to content

#e2f4af

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

RGB
226, 244, 175
HSL
76°, 76%, 82%
CMYK
7, 0, 28, 4
Luminance
0.8397

Every format

HEX#e2f4af
RGBrgb(226, 244, 175)
HSLhsl(76, 76%, 82%)
CMYKcmyk(7%, 0%, 28%, 4%)
LABlab(93.4 -17.1 31.4)
LCHlch(93.4 35.7 118.6)
OKLCHoklch(0.937 0.091 120.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green95.7%
Blue68.6%

CMYK percentages

Cyan7.4%
Magenta0.0%
Yellow28.3%
Key (black)4.3%

Color previews

#e2f4af text on a black background

contrast 17.79:1

Card sample

#e2f4af text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2f4af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2f4af in the Color Lab