Skip to content

#ecf7e1

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

RGB
236, 247, 225
HSL
90°, 58%, 93%
CMYK
5, 0, 9, 3
Luminance
0.8979

Every format

HEX#ecf7e1
RGBrgb(236, 247, 225)
HSLhsl(90, 58%, 93%)
CMYKcmyk(5%, 0%, 9%, 3%)
LABlab(95.9 -7.5 9.3)
LCHlch(95.9 11.9 128.7)
OKLCHoklch(0.962 0.031 128.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf7e1 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#ecf7e1 on black: 18.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green96.9%
Blue88.2%

CMYK percentages

Cyan4.5%
Magenta0.0%
Yellow8.9%
Key (black)3.1%

Color previews

#ecf7e1 text on a black background

contrast 18.96:1

Card sample

#ecf7e1 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf7e1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf7e1 in the Color Lab