#ECF8DF#ECF8DF

#ECF8DF is a very light, muted yellow-green. Relative luminance 0.903; OKLCH L 96.4% C 0.035 H 128.1°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#ECF8DF
RGBrgb(236, 248, 223)
HSLhsl(89, 64%, 92%)
HSVhsv(89, 10%, 97%)
CMYKcmyk(4.8%, 0%, 10.1%, 2.7%)
CIE-LABlab(96.12, -8.30, 10.66)
CIE-LCHlch(96.12, 13.51, 127.91°)
OKLaboklab(96.35% -0.0217 0.0278)
OKLCHoklch(96.35% 0.035 128.1)
XYZxyz(81.4766, 90.2952, 82.9340)
Luminance0.9030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF8DF #EBDFF8
analogous
#F8F8DF #ECF8DF #E0F8DF
triadic
#ECF8DF #DFECF8 #F8DFEC
tetradic
#ECF8DF #DFF8F8 #EBDFF8 #F8DFE0
square
#ECF8DF #DFF8F8 #EBDFF8 #F8DFE0
split-complementary
#ECF8DF #DFE0F8 #F8DFF8
monochromatic
#B0E27B #CEEDAD #ECF8DF #F0FAE6 #F0FAE6

Accessibility & contrast

On white

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

On black

19.06
#ECF8DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF8DF
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF8DF#FFFFFF#000000##000000
##ECF8DF1.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF4DE
Deuteranopia (green-blind)
#F9F4E0
Tritanopia (blue-blind)
#EDF5F1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecf8df;
/* rgb */ color: rgb(236, 248, 223);
/* oklch */ color: oklch(96.4% 0.035 128.1);
Tailwind
colors: {
  custom: {
    50: '#f2fae9',
    500: '#ecf8df',
    950: '#000000',
  },
}
SCSS
$custom: #ecf8df;
$custom-light: #f2fae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf8df",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 223
  },
  "hsl": {
    "h": 88.8,
    "s": 64.103,
    "l": 92.353
  },
  "oklch": {
    "l": 0.96352,
    "c": 0.03526,
    "h": 128.1
  },
  "luminance": 0.90295
}

Semantic roles & 50–950 ramp

primary
#ECF8DF
secondary
#BCA0DB
accent
#1ACC6F
background
#FFFFFE
surface
#FEFFFC
border
#D6D7D5
text
#161716
muted
#858584

Preview Lab

Preview with #ECF8DF

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

Preview Lab → · Contrast checker → · Palette generator →

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