Skip to content

#ecffab

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

RGB
236, 255, 171
HSL
74°, 100%, 84%
CMYK
8, 0, 33, 0
Luminance
0.9229

Every format

HEX#ecffab
RGBrgb(236, 255, 171)
HSLhsl(74, 100%, 84%)
CMYKcmyk(8%, 0%, 33%, 0%)
LABlab(96.9 -19.3 38.1)
LCHlch(96.9 42.8 116.8)
OKLCHoklch(0.967 0.108 118.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecffab on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#ecffab on black: 19.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green100.0%
Blue67.1%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow32.9%
Key (black)0.0%

Color previews

#ecffab text on a black background

contrast 19.46:1

Card sample

#ecffab text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecffab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecffab in the Color Lab