Skip to content

#ecfdab

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

RGB
236, 253, 171
HSL
72°, 95%, 83%
CMYK
7, 0, 32, 1
Luminance
0.9102

Every format

HEX#ecfdab
RGBrgb(236, 253, 171)
HSLhsl(72, 95%, 83%)
CMYKcmyk(7%, 0%, 32%, 1%)
LABlab(96.4 -18.3 37.5)
LCHlch(96.4 41.7 116.1)
OKLCHoklch(0.963 0.105 118.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green99.2%
Blue67.1%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow32.4%
Key (black)0.8%

Color previews

#ecfdab text on a black background

contrast 19.20:1

Card sample

#ecfdab text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfdab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfdab in the Color Lab