Skip to content

#e2f3af

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

RGB
226, 243, 175
HSL
75°, 74%, 82%
CMYK
7, 0, 28, 5
Luminance
0.8337

Every format

HEX#e2f3af
RGBrgb(226, 243, 175)
HSLhsl(75, 74%, 82%)
CMYKcmyk(7%, 0%, 28%, 5%)
LABlab(93.2 -16.6 31.0)
LCHlch(93.2 35.2 118.1)
OKLCHoklch(0.935 0.090 119.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2f3af on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#e2f3af on black: 17.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green95.3%
Blue68.6%

CMYK percentages

Cyan7.0%
Magenta0.0%
Yellow28.0%
Key (black)4.7%

Color previews

#e2f3af text on a black background

contrast 17.67:1

Card sample

#e2f3af text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2f3af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2f3af in the Color Lab