Skip to content

#ecf5e2

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

RGB
236, 245, 226
HSL
88°, 49%, 92%
CMYK
4, 0, 8, 4
Luminance
0.8863

Every format

HEX#ecf5e2
RGBrgb(236, 245, 226)
HSLhsl(88, 49%, 92%)
CMYKcmyk(4%, 0%, 8%, 4%)
LABlab(95.4 -6.3 8.1)
LCHlch(95.4 10.3 127.8)
OKLCHoklch(0.958 0.027 127.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf5e2 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#ecf5e2 on black: 18.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green96.1%
Blue88.6%

CMYK percentages

Cyan3.7%
Magenta0.0%
Yellow7.8%
Key (black)3.9%

Color previews

#ecf5e2 text on a black background

contrast 18.73:1

Card sample

#ecf5e2 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf5e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf5e2 in the Color Lab