Skip to content

#ecfdf1

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

RGB
236, 253, 241
HSL
138°, 81%, 96%
CMYK
7, 0, 5, 1
Luminance
0.9443

Every format

HEX#ecfdf1
RGBrgb(236, 253, 241)
HSLhsl(138, 81%, 96%)
CMYKcmyk(7%, 0%, 5%, 1%)
LABlab(97.8 -7.7 3.8)
LCHlch(97.8 8.6 153.6)
OKLCHoklch(0.978 0.024 155.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecfdf1 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#ecfdf1 on black: 19.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green99.2%
Blue94.5%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow4.7%
Key (black)0.8%

Color previews

#ecfdf1 text on a black background

contrast 19.89:1

Card sample

#ecfdf1 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfdf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfdf1 in the Color Lab