#ECFFAB#ECFFAB

#ECFFAB is a very light, moderate yellow-green. Relative luminance 0.923; OKLCH L 96.7% C 0.108 H 118.8°. Best body text is #000000 at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#ECFFAB
RGBrgb(236, 255, 171)
HSLhsl(74, 100%, 84%)
HSVhsv(74, 33%, 100%)
CMYKcmyk(7.5%, 0%, 32.9%, 0%)
CIE-LABlab(96.94, -19.29, 38.15)
CIE-LCHlch(96.94, 42.75, 116.82°)
OKLaboklab(96.68% -0.0521 0.0947)
OKLCHoklch(96.68% 0.108 118.8)
XYZxyz(77.7026, 92.2935, 52.2411)
Luminance0.9229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFFAB #BEABFF
analogous
#FFE8AB #ECFFAB #C2FFAB
triadic
#ECFFAB #ABECFF #FFABEC
tetradic
#ECFFAB #ABFFE8 #BEABFF #FFABC2
square
#ECFFAB #ABFFE8 #BEABFF #FFABC2
split-complementary
#ECFFAB #ABC2FF #E8ABFF
monochromatic
#D0FF31 #DEFF6E #ECFFAB #F8FFE0 #F8FFE0

Accessibility & contrast

On white

1.08
#ECFFAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.46
#ECFFAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFFAB
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFFAB#FFFFFF#000000##000000
##ECFFAB1.001.0819.4619.46
#FFFFFF1.081.0021.0021.00
#00000019.4621.001.001.00
##00000019.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6A5
Deuteranopia (green-blind)
#FFF7AF
Tritanopia (blue-blind)
#F4F6EA
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #ecffab;
/* rgb */ color: rgb(236, 255, 171);
/* oklch */ color: oklch(96.7% 0.108 118.8);
Tailwind
colors: {
  custom: {
    50: '#f3ffc4',
    500: '#ecffab',
    950: '#000000',
  },
}
SCSS
$custom: #ecffab;
$custom-light: #f3ffc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecffab",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 171
  },
  "hsl": {
    "h": 73.571,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.96681,
    "c": 0.1081,
    "h": 118.8
  },
  "luminance": 0.92293
}

Semantic roles & 50–950 ramp

primary
#ECFFAB
secondary
#856AE5
accent
#00E634
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #ECFFAB

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

Preview Lab → · Contrast checker → · Palette generator →

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