Skip to content

#e2f2ad

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

RGB
226, 242, 173
HSL
74°, 73%, 81%
CMYK
7, 0, 29, 5
Luminance
0.8269

Every format

HEX#e2f2ad
RGBrgb(226, 242, 173)
HSLhsl(74, 73%, 81%)
CMYKcmyk(7%, 0%, 29%, 5%)
LABlab(92.9 -16.4 31.6)
LCHlch(92.9 35.6 117.3)
OKLCHoklch(0.933 0.091 118.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2f2ad on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#e2f2ad on black: 17.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green94.9%
Blue67.8%

CMYK percentages

Cyan6.6%
Magenta0.0%
Yellow28.5%
Key (black)5.1%

Color previews

#e2f2ad text on a black background

contrast 17.54:1

Card sample

#e2f2ad text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2f2ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2f2ad in the Color Lab