Skip to content

#e2f3ac

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

RGB
226, 243, 172
HSL
74°, 75%, 81%
CMYK
7, 0, 29, 5
Luminance
0.8325

Every format

HEX#e2f3ac
RGBrgb(226, 243, 172)
HSLhsl(74, 75%, 81%)
CMYKcmyk(7%, 0%, 29%, 5%)
LABlab(93.1 -17.0 32.5)
LCHlch(93.1 36.6 117.6)
OKLCHoklch(0.935 0.093 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green95.3%
Blue67.5%

CMYK percentages

Cyan7.0%
Magenta0.0%
Yellow29.2%
Key (black)4.7%

Color previews

#e2f3ac text on a black background

contrast 17.65:1

Card sample

#e2f3ac text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2f3ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2f3ac in the Color Lab