#ECFBAB#ECFBAB

#ECFBAB is a very light, moderate yellow-green. Relative luminance 0.898; OKLCH L 95.9% C 0.103 H 117.0°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#ECFBAB
RGBrgb(236, 251, 171)
HSLhsl(71, 91%, 83%)
HSVhsv(71, 32%, 98%)
CMYKcmyk(6%, 0%, 31.9%, 1.6%)
CIE-LABlab(95.90, -17.35, 36.78)
CIE-LCHlch(95.90, 40.67, 115.26°)
OKLaboklab(95.85% -0.0467 0.0915)
OKLCHoklch(95.85% 0.103 117)
XYZxyz(76.4398, 89.7680, 51.8202)
Luminance0.8977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFBAB #BAABFB
analogous
#FBE2AB #ECFBAB #C4FBAB
triadic
#ECFBAB #ABECFB #FBABEC
tetradic
#ECFBAB #ABFBE2 #BAABFB #FBABC4
square
#ECFBAB #ABFBE2 #BAABFB #FBABC4
split-complementary
#ECFBAB #ABC4FB #E2ABFB
monochromatic
#D2F536 #DFF871 #ECFBAB #F8FEE2 #F8FEE2

Accessibility & contrast

On white

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

On black

18.95
#ECFBAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFBAB
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFBAB#FFFFFF#000000##000000
##ECFBAB1.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3A5
Deuteranopia (green-blind)
#FFF4AF
Tritanopia (blue-blind)
#F4F3E6
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfbab;
/* rgb */ color: rgb(236, 251, 171);
/* oklch */ color: oklch(95.9% 0.103 117.0);
Tailwind
colors: {
  custom: {
    50: '#f3fcc4',
    500: '#ecfbab',
    950: '#000000',
  },
}
SCSS
$custom: #ecfbab;
$custom-light: #f3fcc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfbab",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 171
  },
  "hsl": {
    "h": 71.25,
    "s": 90.909,
    "l": 82.745
  },
  "oklch": {
    "l": 0.95853,
    "c": 0.10269,
    "h": 117
  },
  "luminance": 0.89768
}

Semantic roles & 50–950 ramp

primary
#ECFBAB
secondary
#816CDE
accent
#00E62B
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #ECFBAB

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

Preview Lab → · Contrast checker → · Palette generator →

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