#ecf0df
a pale, soft green · cool · closest name: beige
RGB
236, 240, 223
HSL
74°, 36%, 91%
CMYK
2, 0, 7, 6
Luminance
0.8548
Every format
| HEX | #ecf0df |
| RGB | rgb(236, 240, 223) |
| HSL | hsl(74, 36%, 91%) |
| CMYK | cmyk(2%, 0%, 7%, 6%) |
| LAB | lab(94.1 -4.3 7.8) |
| LCH | lch(94.1 8.8 118.9) |
| OKLCH | oklch(0.948 0.023 117.6) |
Copy-ready code
/* CSS */
color: #ecf0df;
background-color: #ecf0df;
/* Tailwind (arbitrary) */
class="text-[#ecf0df] bg-[#ecf0df]"
/* SCSS */
$brand: #ecf0df;
/* SwiftUI */
Color(red: 0.925, green: 0.941, blue: 0.875)
/* Android */
Color.parseColor("#ecf0df")Accessibility — WCAG contrast
Aa
#ecf0df on white: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecf0df on black: 18.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green94.1%
Blue87.5%
CMYK percentages
Cyan1.7%
Magenta0.0%
Yellow7.1%
Key (black)5.9%
Color previews
#ecf0df text on a black background
contrast 18.10:1
Card sample
#ecf0df text on a white background
contrast 1.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecf0df;
Background color
Panel with #ecf0df background
background-color: #ecf0df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecf0df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 240, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 240, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecf0df; background: linear-gradient(135deg, #ecf0df, #E1F0DF);