#ECF8BD#ECF8BD

#ECF8BD is a very light, moderate yellow-green. Relative luminance 0.886; OKLCH L 95.6% C 0.077 H 117.2°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#ECF8BD
RGBrgb(236, 248, 189)
HSLhsl(72, 81%, 86%)
HSVhsv(72, 24%, 97%)
CMYKcmyk(4.8%, 0%, 23.8%, 2.7%)
CIE-LABlab(95.43, -13.50, 27.09)
CIE-LCHlch(95.43, 30.27, 116.49°)
OKLaboklab(95.58% -0.0353 0.0687)
OKLCHoklch(95.58% 0.077 117.2)
XYZxyz(77.3441, 88.6421, 61.1693)
Luminance0.8864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF8BD #C9BDF8
analogous
#F8E6BD #ECF8BD #CEF8BD
triadic
#ECF8BD #BDECF8 #F8BDEC
tetradic
#ECF8BD #BDF8E6 #C9BDF8 #F8BDCE
square
#ECF8BD #BDF8E6 #C9BDF8 #F8BDCE
split-complementary
#ECF8BD #BDCEF8 #E6BDF8
monochromatic
#CCEC4E #DCF286 #ECF8BD #F7FCE3 #F7FCE3

Accessibility & contrast

On white

1.12
#ECF8BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.73
#ECF8BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF8BD
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF8BD#FFFFFF#000000##000000
##ECF8BD1.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2B9
Deuteranopia (green-blind)
#FFF2BF
Tritanopia (blue-blind)
#F2F1E8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecf8bd;
/* rgb */ color: rgb(236, 248, 189);
/* oklch */ color: oklch(95.6% 0.077 117.2);
Tailwind
colors: {
  custom: {
    50: '#f2fad1',
    500: '#ecf8bd',
    950: '#000000',
  },
}
SCSS
$custom: #ecf8bd;
$custom-light: #f2fad1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf8bd",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 189
  },
  "hsl": {
    "h": 72.203,
    "s": 80.822,
    "l": 85.686
  },
  "oklch": {
    "l": 0.95579,
    "c": 0.07723,
    "h": 117.2
  },
  "luminance": 0.88642
}

Semantic roles & 50–950 ramp

primary
#ECF8BD
secondary
#917EDB
accent
#08DD34
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #ECF8BD

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

Preview Lab → · Contrast checker → · Palette generator →

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