#ECF7DF#ECF7DF

#ECF7DF is a very light, muted yellow-green. Relative luminance 0.897; OKLCH L 96.2% C 0.034 H 127.2°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#ECF7DF
RGBrgb(236, 247, 223)
HSLhsl(88, 60%, 92%)
HSVhsv(88, 10%, 97%)
CMYKcmyk(4.5%, 0%, 9.7%, 3.1%)
CIE-LABlab(95.86, -7.80, 10.29)
CIE-LCHlch(95.86, 12.92, 127.15°)
OKLaboklab(96.15% -0.0204 0.0268)
OKLCHoklch(96.15% 0.034 127.2)
XYZxyz(81.1700, 89.6819, 82.8318)
Luminance0.8968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF7DF #EADFF7
analogous
#F7F6DF #ECF7DF #E0F7DF
triadic
#ECF7DF #DFECF7 #F7DFEC
tetradic
#ECF7DF #DFF7F6 #EADFF7 #F7DFE0
square
#ECF7DF #DFF7F6 #EADFF7 #F7DFE0
split-complementary
#ECF7DF #DFE0F7 #F6DFF7
monochromatic
#B2DF7D #CFEBAE #ECF7DF #F0F9E7 #F0F9E7

Accessibility & contrast

On white

1.11
#ECF7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.94
#ECF7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF7DF
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF7DF#FFFFFF#000000##000000
##ECF7DF1.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF4DE
Deuteranopia (green-blind)
#F8F3E0
Tritanopia (blue-blind)
#EDF5F0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecf7df;
/* rgb */ color: rgb(236, 247, 223);
/* oklch */ color: oklch(96.2% 0.034 127.2);
Tailwind
colors: {
  custom: {
    50: '#f2f9e9',
    500: '#ecf7df',
    950: '#000000',
  },
}
SCSS
$custom: #ecf7df;
$custom-light: #f2f9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf7df",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 223
  },
  "hsl": {
    "h": 87.5,
    "s": 60,
    "l": 92.157
  },
  "oklch": {
    "l": 0.96151,
    "c": 0.03368,
    "h": 127.2
  },
  "luminance": 0.89682
}

Semantic roles & 50–950 ramp

primary
#ECF7DF
secondary
#BBA1D9
accent
#1EC86C
background
#FFFFFE
surface
#FEFFFC
border
#D6D7D5
text
#161716
muted
#858584

Preview Lab

Preview with #ECF7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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