#ECFAB2#ECFAB2

#ECFAB2 is a very light, moderate yellow-green. Relative luminance 0.894; OKLCH L 95.8% C 0.093 H 117.1°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#ECFAB2
RGBrgb(236, 250, 178)
HSLhsl(72, 88%, 84%)
HSVhsv(72, 29%, 98%)
CMYKcmyk(5.6%, 0%, 28.8%, 2%)
CIE-LABlab(95.76, -15.97, 33.09)
CIE-LCHlch(95.76, 36.74, 115.77°)
OKLaboklab(95.77% -0.0425 0.0829)
OKLCHoklch(95.77% 0.093 117.1)
XYZxyz(76.8132, 89.4189, 55.3238)
Luminance0.8942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFAB2 #C0B2FA
analogous
#FAE4B2 #ECFAB2 #C8FAB2
triadic
#ECFAB2 #B2ECFA #FAB2EC
tetradic
#ECFAB2 #B2FAE4 #C0B2FA #FAB2C8
square
#ECFAB2 #B2FAE4 #C0B2FA #FAB2C8
split-complementary
#ECFAB2 #B2C8FA #E4B2FA
monochromatic
#D0F33F #DEF679 #ECFAB2 #F8FDE2 #F8FDE2

Accessibility & contrast

On white

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

On black

18.88
#ECFAB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFAB2
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFAB2#FFFFFF#000000##000000
##ECFAB21.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2AD
Deuteranopia (green-blind)
#FFF3B5
Tritanopia (blue-blind)
#F3F2E7
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfab2;
/* rgb */ color: rgb(236, 250, 178);
/* oklch */ color: oklch(95.8% 0.093 117.1);
Tailwind
colors: {
  custom: {
    50: '#f2fcc9',
    500: '#ecfab2',
    950: '#000000',
  },
}
SCSS
$custom: #ecfab2;
$custom-light: #f2fcc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfab2",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 178
  },
  "hsl": {
    "h": 71.667,
    "s": 87.805,
    "l": 83.922
  },
  "oklch": {
    "l": 0.95774,
    "c": 0.09317,
    "h": 117.1
  },
  "luminance": 0.89418
}

Semantic roles & 50–950 ramp

primary
#ECFAB2
secondary
#8773DE
accent
#01E42D
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #ECFAB2

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

Preview Lab → · Contrast checker → · Palette generator →

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