#ECF7BF#ECF7BF

#ECF7BF is a very light, moderate yellow-green. Relative luminance 0.881; OKLCH L 95.4% C 0.073 H 116.8°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#ECF7BF
RGBrgb(236, 247, 191)
HSLhsl(72, 78%, 86%)
HSVhsv(72, 23%, 97%)
CMYKcmyk(4.5%, 0%, 22.7%, 3.1%)
CIE-LABlab(95.21, -12.73, 25.78)
CIE-LCHlch(95.21, 28.75, 116.28°)
OKLaboklab(95.42% -0.0331 0.0655)
OKLCHoklch(95.42% 0.073 116.8)
XYZxyz(77.2561, 88.1164, 62.2183)
Luminance0.8812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF7BF #CABFF7
analogous
#F7E6BF #ECF7BF #D0F7BF
triadic
#ECF7BF #BFECF7 #F7BFEC
tetradic
#ECF7BF #BFF7E6 #CABFF7 #F7BFD0
square
#ECF7BF #BFF7E6 #CABFF7 #F7BFD0
split-complementary
#ECF7BF #BFD0F7 #E6BFF7
monochromatic
#CCE952 #DCF089 #ECF7BF #F7FCE4 #F7FCE4

Accessibility & contrast

On white

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

On black

18.62
#ECF7BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF7BF
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF7BF#FFFFFF#000000##000000
##ECF7BF1.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1BC
Deuteranopia (green-blind)
#FEF2C1
Tritanopia (blue-blind)
#F2F1E8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecf7bf;
/* rgb */ color: rgb(236, 247, 191);
/* oklch */ color: oklch(95.4% 0.073 116.8);
Tailwind
colors: {
  custom: {
    50: '#f2f9d2',
    500: '#ecf7bf',
    950: '#000000',
  },
}
SCSS
$custom: #ecf7bf;
$custom-light: #f2f9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf7bf",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 191
  },
  "hsl": {
    "h": 71.786,
    "s": 77.778,
    "l": 85.882
  },
  "oklch": {
    "l": 0.95416,
    "c": 0.0734,
    "h": 116.8
  },
  "luminance": 0.88116
}

Semantic roles & 50–950 ramp

primary
#ECF7BF
secondary
#9281DA
accent
#0BDA34
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #ECF7BF

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

Preview Lab → · Contrast checker → · Palette generator →

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