Skip to content

#ecf9d2

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

RGB
236, 249, 210
HSL
80°, 77%, 90%
CMYK
5, 0, 16, 2
Luminance
0.9024

Every format

HEX#ecf9d2
RGBrgb(236, 249, 210)
HSLhsl(80, 77%, 90%)
CMYKcmyk(5%, 0%, 16%, 2%)
LABlab(96.1 -10.9 17.3)
LCHlch(96.1 20.4 122.2)
OKLCHoklch(0.962 0.053 122.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green97.6%
Blue82.4%

CMYK percentages

Cyan5.2%
Magenta0.0%
Yellow15.7%
Key (black)2.4%

Color previews

#ecf9d2 text on a black background

contrast 19.05:1

Card sample

#ecf9d2 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf9d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf9d2 in the Color Lab