#ECFF9D#ECFF9D

#ECFF9D is a very light, vivid yellow-green. Relative luminance 0.918; OKLCH L 96.4% C 0.124 H 117.7°. Best body text is #000000 at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#ECFF9D
RGBrgb(236, 255, 157)
HSLhsl(72, 100%, 81%)
HSVhsv(72, 38%, 100%)
CMYKcmyk(7.5%, 0%, 38.4%, 0%)
CIE-LABlab(96.73, -20.95, 44.75)
CIE-LCHlch(96.73, 49.41, 115.08°)
OKLaboklab(96.45% -0.0576 0.1095)
OKLCHoklch(96.45% 0.124 117.7)
XYZxyz(76.4381, 91.7877, 45.5817)
Luminance0.9179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF9D #B09DFF
analogous
#FFE19D #ECFF9D #BBFF9D
triadic
#ECFF9D #9DECFF #FF9DEC
tetradic
#ECFF9D #9DFFE1 #B09DFF #FF9DBB
square
#ECFF9D #9DFFE1 #B09DFF #FF9DBB
split-complementary
#ECFF9D #9DBBFF #E19DFF
monochromatic
#D4FF23 #E0FF60 #ECFF9D #F8FFDA #F9FFE0

Accessibility & contrast

On white

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

On black

19.36
#ECFF9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF9D
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF9D#FFFFFF#000000##000000
##ECFF9D1.001.0819.3619.36
#FFFFFF1.081.0021.0021.00
#00000019.3621.001.001.00
##00000019.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF596
Deuteranopia (green-blind)
#FFF6A2
Tritanopia (blue-blind)
#F5F5E7
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #ecff9d;
/* rgb */ color: rgb(236, 255, 157);
/* oklch */ color: oklch(96.4% 0.124 117.7);
Tailwind
colors: {
  custom: {
    50: '#f3ffbb',
    500: '#ecff9d',
    950: '#000000',
  },
}
SCSS
$custom: #ecff9d;
$custom-light: #f3ffbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff9d",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 157
  },
  "hsl": {
    "h": 71.633,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.96449,
    "c": 0.12369,
    "h": 117.7
  },
  "luminance": 0.91787
}

Semantic roles & 50–950 ramp

primary
#ECFF9D
secondary
#775EE3
accent
#00E62C
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171812
muted
#858682

Preview Lab

Preview with #ECFF9D

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

Preview Lab → · Contrast checker → · Palette generator →

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