Skip to content

#ecfdb5

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

RGB
236, 253, 181
HSL
74°, 95%, 85%
CMYK
7, 0, 29, 1
Luminance
0.9142

Every format

HEX#ecfdb5
RGBrgb(236, 253, 181)
HSLhsl(74, 95%, 85%)
CMYKcmyk(7%, 0%, 29%, 1%)
LABlab(96.6 -17.0 32.7)
LCHlch(96.6 36.9 117.5)
OKLCHoklch(0.965 0.094 119.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green99.2%
Blue71.0%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow28.5%
Key (black)0.8%

Color previews

#ecfdb5 text on a black background

contrast 19.28:1

Card sample

#ecfdb5 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfdb5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfdb5 in the Color Lab