Skip to content

#ecf0db

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

RGB
236, 240, 219
HSL
71°, 41%, 90%
CMYK
2, 0, 9, 6
Luminance
0.8527

Every format

HEX#ecf0db
RGBrgb(236, 240, 219)
HSLhsl(71, 41%, 90%)
CMYKcmyk(2%, 0%, 9%, 6%)
LABlab(94.0 -4.9 9.7)
LCHlch(94.0 10.9 117.0)
OKLCHoklch(0.947 0.028 115.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf0db on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#ecf0db on black: 18.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green94.1%
Blue85.9%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow8.8%
Key (black)5.9%

Color previews

#ecf0db text on a black background

contrast 18.05:1

Card sample

#ecf0db text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf0db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf0db in the Color Lab