#ECF7DC#ECF7DC

#ECF7DC is a very light, muted yellow-green. Relative luminance 0.895; OKLCH L 96.1% C 0.037 H 125.2°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#ECF7DC
RGBrgb(236, 247, 220)
HSLhsl(84, 63%, 92%)
HSVhsv(84, 11%, 97%)
CMYKcmyk(4.5%, 0%, 10.9%, 3.1%)
CIE-LABlab(95.80, -8.29, 11.74)
CIE-LCHlch(95.80, 14.38, 125.23°)
OKLaboklab(96.08% -0.0215 0.0305)
OKLCHoklch(96.08% 0.037 125.2)
XYZxyz(80.7691, 89.5216, 80.7205)
Luminance0.8952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF7DC #E7DCF7
analogous
#F7F5DC #ECF7DC #DFF7DC
triadic
#ECF7DC #DCECF7 #F7DCEC
tetradic
#ECF7DC #DCF7F5 #E7DCF7 #F7DCDF
square
#ECF7DC #DCF7F5 #E7DCF7 #F7DCDF
split-complementary
#ECF7DC #DCDFF7 #F5DCF7
monochromatic
#B6E078 #D1ECAA #ECF7DC #F1F9E6 #F1F9E6

Accessibility & contrast

On white

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

On black

18.90
#ECF7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF7DC
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF7DC#FFFFFF#000000##000000
##ECF7DC1.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF3DB
Deuteranopia (green-blind)
#F9F3DD
Tritanopia (blue-blind)
#EEF4EF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecf7dc;
/* rgb */ color: rgb(236, 247, 220);
/* oklch */ color: oklch(96.1% 0.037 125.2);
Tailwind
colors: {
  custom: {
    50: '#f2f9e6',
    500: '#ecf7dc',
    950: '#000000',
  },
}
SCSS
$custom: #ecf7dc;
$custom-light: #f2f9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf7dc",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 220
  },
  "hsl": {
    "h": 84.444,
    "s": 62.791,
    "l": 91.569
  },
  "oklch": {
    "l": 0.96076,
    "c": 0.03738,
    "h": 125.2
  },
  "luminance": 0.89522
}

Semantic roles & 50–950 ramp

primary
#ECF7DC
secondary
#B69ED9
accent
#1BCB62
background
#FFFFFE
surface
#FEFFFC
border
#D6D7D5
text
#161716
muted
#858584

Preview Lab

Preview with #ECF7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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