Skip to content

#e0f2ac

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

RGB
224, 242, 172
HSL
75°, 73%, 81%
CMYK
7, 0, 29, 5
Luminance
0.8233

Every format

HEX#e0f2ac
RGBrgb(224, 242, 172)
HSLhsl(75, 73%, 81%)
CMYKcmyk(7%, 0%, 29%, 5%)
LABlab(92.7 -17.2 31.9)
LCHlch(92.7 36.3 118.4)
OKLCHoklch(0.931 0.092 119.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.8%
Green94.9%
Blue67.5%

CMYK percentages

Cyan7.4%
Magenta0.0%
Yellow28.9%
Key (black)5.1%

Color previews

#e0f2ac text on a black background

contrast 17.47:1

Card sample

#e0f2ac text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e0f2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e0f2ac in the Color Lab