Skip to content

#e2fbaf

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

RGB
226, 251, 175
HSL
80°, 91%, 84%
CMYK
10, 0, 30, 2
Luminance
0.8826

Every format

HEX#e2fbaf
RGBrgb(226, 251, 175)
HSLhsl(80, 91%, 84%)
CMYKcmyk(10%, 0%, 30%, 2%)
LABlab(95.3 -20.5 33.8)
LCHlch(95.3 39.5 121.2)
OKLCHoklch(0.952 0.101 123.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green98.4%
Blue68.6%

CMYK percentages

Cyan10.0%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#e2fbaf text on a black background

contrast 18.65:1

Card sample

#e2fbaf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2fbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2fbaf in the Color Lab