#ECF0D8#ECF0D8
#ECF0D8 is a very light, muted yellow-green. Relative luminance 0.851; OKLCH L 94.6% C 0.032 H 114.7°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF0D8 |
|---|---|
| RGB | rgb(236, 240, 216) |
| HSL | hsl(70, 44%, 89%) |
| HSV | hsv(70, 10%, 94%) |
| CMYK | cmyk(1.7%, 0%, 10%, 5.9%) |
| CIE-LAB | lab(93.93, -5.43, 11.15) |
| CIE-LCH | lch(93.93, 12.40, 115.98°) |
| OKLab | oklab(94.57% -0.0133 0.029) |
| OKLCH | oklch(94.57% 0.032 114.7) |
| XYZ | xyz(78.1452, 85.1111, 77.2637) |
| Luminance | 0.8511 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Beige
#F5F5DC
ΔE00 2.04
Off White (survey)
#FFFFE4
ΔE00 3.66
Lightyellow
#FFFFE0
ΔE00 4.04
Eggshell
#F0EAD6
ΔE00 4.94
Cornsilk
#FFF8DC
ΔE00 5.07
Ivory
#FFFFF0
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF0D8 #DCD8F0
analogous
#F0E8D8 #ECF0D8 #E0F0D8
triadic
#ECF0D8 #D8ECF0 #F0D8EC
tetradic
#ECF0D8 #D8F0E8 #DCD8F0 #F0D8E0
square
#ECF0D8 #D8F0E8 #DCD8F0 #F0D8E0
split-complementary
#ECF0D8 #D8E0F0 #E8D8F0
monochromatic
#C1CE80 #D6DFAC #ECF0D8 #F4F6E9 #F4F6E9
Accessibility & contrast
On white
1.17
#ECF0D8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.02
#ECF0D8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF0D8
18.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF0D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF0D8 | 1.00 | 1.17 | 18.02 | 18.02 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4EDD7
Deuteranopia (green-blind)
#F4EED9
Tritanopia (blue-blind)
#EFEDE9
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #ecf0d8; /* rgb */ color: rgb(236, 240, 216); /* oklch */ color: oklch(94.6% 0.032 114.7);
Tailwind
colors: {
custom: {
50: '#f2f4e4',
500: '#ecf0d8',
950: '#000000',
},
}SCSS
$custom: #ecf0d8; $custom-light: #f2f4e4; $custom-dark: #000000;
JSON
{
"hex": "#ecf0d8",
"rgb": {
"r": 236,
"g": 240,
"b": 216
},
"hsl": {
"h": 70,
"s": 44.444,
"l": 89.412
},
"oklch": {
"l": 0.94571,
"c": 0.03194,
"h": 114.7
},
"luminance": 0.85111
}Semantic roles & 50–950 ramp
primary
#ECF0D8
secondary
#A79FCD
accent
#2EB845
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#161715
muted
#858584