Skip to content

#ecfed2

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

RGB
236, 254, 210
HSL
85°, 96%, 91%
CMYK
7, 0, 17, 0
Luminance
0.9337

Every format

HEX#ecfed2
RGBrgb(236, 254, 210)
HSLhsl(85, 96%, 91%)
CMYKcmyk(7%, 0%, 17%, 0%)
LABlab(97.4 -13.4 19.1)
LCHlch(97.4 23.3 125.0)
OKLCHoklch(0.973 0.060 125.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecfed2 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#ecfed2 on black: 19.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green99.6%
Blue82.4%

CMYK percentages

Cyan7.1%
Magenta0.0%
Yellow17.3%
Key (black)0.4%

Color previews

#ecfed2 text on a black background

contrast 19.67:1

Card sample

#ecfed2 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfed2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfed2 in the Color Lab