Skip to content

#e2ffaf

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

RGB
226, 255, 175
HSL
82°, 100%, 84%
CMYK
11, 0, 31, 0
Luminance
0.9078

Every format

HEX#e2ffaf
RGBrgb(226, 255, 175)
HSLhsl(82, 100%, 84%)
CMYKcmyk(11%, 0%, 31%, 0%)
LABlab(96.3 -22.4 35.2)
LCHlch(96.3 41.7 122.4)
OKLCHoklch(0.960 0.107 124.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green100.0%
Blue68.6%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow31.4%
Key (black)0.0%

Color previews

#e2ffaf text on a black background

contrast 19.16:1

Card sample

#e2ffaf text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ffaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ffaf in the Color Lab