#ECF8DC#ECF8DC

#ECF8DC is a very light, muted yellow-green. Relative luminance 0.901; OKLCH L 96.3% C 0.039 H 126.1°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#ECF8DC
RGBrgb(236, 248, 220)
HSLhsl(86, 67%, 92%)
HSVhsv(86, 11%, 97%)
CMYKcmyk(4.8%, 0%, 11.3%, 2.7%)
CIE-LABlab(96.05, -8.79, 12.11)
CIE-LCHlch(96.05, 14.96, 125.99°)
OKLaboklab(96.28% -0.0229 0.0315)
OKLCHoklch(96.28% 0.039 126.1)
XYZxyz(81.0758, 90.1348, 80.8228)
Luminance0.9013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF8DC #E8DCF8
analogous
#F8F6DC #ECF8DC #DEF8DC
triadic
#ECF8DC #DCECF8 #F8DCEC
tetradic
#ECF8DC #DCF8F6 #E8DCF8 #F8DCDE
square
#ECF8DC #DCF8F6 #E8DCF8 #F8DCDE
split-complementary
#ECF8DC #DCDEF8 #F6DCF8
monochromatic
#B5E476 #D0EEA9 #ECF8DC #F1FAE5 #F1FAE5

Accessibility & contrast

On white

1.10
#ECF8DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.03
#ECF8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF8DC
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF8DC#FFFFFF#000000##000000
##ECF8DC1.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF4DA
Deuteranopia (green-blind)
#FAF3DD
Tritanopia (blue-blind)
#EEF5F0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecf8dc;
/* rgb */ color: rgb(236, 248, 220);
/* oklch */ color: oklch(96.3% 0.039 126.1);
Tailwind
colors: {
  custom: {
    50: '#f2fae6',
    500: '#ecf8dc',
    950: '#000000',
  },
}
SCSS
$custom: #ecf8dc;
$custom-light: #f2fae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf8dc",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 220
  },
  "hsl": {
    "h": 85.714,
    "s": 66.667,
    "l": 91.765
  },
  "oklch": {
    "l": 0.96277,
    "c": 0.03894,
    "h": 126.1
  },
  "luminance": 0.90135
}

Semantic roles & 50–950 ramp

primary
#ECF8DC
secondary
#B89DDB
accent
#17CF66
background
#FFFFFE
surface
#FEFFFC
border
#D6D7D5
text
#161716
muted
#858584

Preview Lab

Preview with #ECF8DC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#ECF8DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva