Skip to content

#ecff97

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

RGB
236, 255, 151
HSL
71°, 100%, 80%
CMYK
8, 0, 41, 0
Luminance
0.9159

Every format

HEX#ecff97
RGBrgb(236, 255, 151)
HSLhsl(71, 100%, 80%)
CMYKcmyk(8%, 0%, 41%, 0%)
LABlab(96.7 -21.6 47.5)
LCHlch(96.7 52.2 114.4)
OKLCHoklch(0.964 0.130 117.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecff97 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#ecff97 on black: 19.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green100.0%
Blue59.2%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow40.8%
Key (black)0.0%

Color previews

#ecff97 text on a black background

contrast 19.32:1

Card sample

#ecff97 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 255, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 255, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecff97;
background: linear-gradient(135deg, #ecff97, #A7FF97);

Monochromatic scale

Palettes built from #ecff97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecff97 in the Color Lab