Skip to content

#ecfda4

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

RGB
236, 253, 164
HSL
72°, 96%, 82%
CMYK
7, 0, 35, 1
Luminance
0.9076

Every format

HEX#ecfda4
RGBrgb(236, 253, 164)
HSLhsl(72, 96%, 82%)
CMYKcmyk(7%, 0%, 35%, 1%)
LABlab(96.3 -19.2 40.8)
LCHlch(96.3 45.1 115.2)
OKLCHoklch(0.962 0.113 117.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecfda4 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#ecfda4 on black: 19.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green99.2%
Blue64.3%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow35.2%
Key (black)0.8%

Color previews

#ecfda4 text on a black background

contrast 19.15:1

Card sample

#ecfda4 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfda4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfda4 in the Color Lab