#ECF7BB#ECF7BB

#ECF7BB is a very light, moderate yellow-green. Relative luminance 0.879; OKLCH L 95.3% C 0.078 H 116.3°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#ECF7BB
RGBrgb(236, 247, 187)
HSLhsl(71, 79%, 85%)
HSVhsv(71, 24%, 97%)
CMYKcmyk(4.5%, 0%, 24.3%, 3.1%)
CIE-LABlab(95.14, -13.29, 27.71)
CIE-LCHlch(95.14, 30.73, 115.62°)
OKLaboklab(95.33% -0.0347 0.0701)
OKLCHoklch(95.33% 0.078 116.3)
XYZxyz(76.8219, 87.9427, 59.9316)
Luminance0.8794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF7BB #C6BBF7
analogous
#F7E4BB #ECF7BB #CEF7BB
triadic
#ECF7BB #BBECF7 #F7BBEC
tetradic
#ECF7BB #BBF7E4 #C6BBF7 #F7BBCE
square
#ECF7BB #BBF7E4 #C6BBF7 #F7BBCE
split-complementary
#ECF7BB #BBCEF7 #E4BBF7
monochromatic
#CDEA4D #DDF184 #ECF7BB #F7FCE4 #F7FCE4

Accessibility & contrast

On white

1.13
#ECF7BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#ECF7BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF7BB
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF7BB#FFFFFF#000000##000000
##ECF7BB1.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1B7
Deuteranopia (green-blind)
#FEF2BD
Tritanopia (blue-blind)
#F3F0E7
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecf7bb;
/* rgb */ color: rgb(236, 247, 187);
/* oklch */ color: oklch(95.3% 0.078 116.3);
Tailwind
colors: {
  custom: {
    50: '#f2f9cf',
    500: '#ecf7bb',
    950: '#000000',
  },
}
SCSS
$custom: #ecf7bb;
$custom-light: #f2f9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf7bb",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 187
  },
  "hsl": {
    "h": 71,
    "s": 78.947,
    "l": 85.098
  },
  "oklch": {
    "l": 0.95334,
    "c": 0.07827,
    "h": 116.3
  },
  "luminance": 0.87942
}

Semantic roles & 50–950 ramp

primary
#ECF7BB
secondary
#8E7DD9
accent
#0ADB31
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #ECF7BB

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

Preview Lab → · Contrast checker → · Palette generator →

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