Skip to content

#ecf5d0

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

RGB
236, 245, 208
HSL
75°, 65%, 89%
CMYK
4, 0, 15, 4
Luminance
0.8769

Every format

HEX#ecf5d0
RGBrgb(236, 245, 208)
HSLhsl(75, 65%, 89%)
CMYKcmyk(4%, 0%, 15%, 4%)
LABlab(95.0 -9.2 16.8)
LCHlch(95.0 19.2 118.7)
OKLCHoklch(0.954 0.049 118.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf5d0 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#ecf5d0 on black: 18.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green96.1%
Blue81.6%

CMYK percentages

Cyan3.7%
Magenta0.0%
Yellow15.1%
Key (black)3.9%

Color previews

#ecf5d0 text on a black background

contrast 18.54:1

Card sample

#ecf5d0 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf5d0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf5d0 in the Color Lab