#ECFF8D#ECFF8D

#ECFF8D is a very light, vivid yellow-green. Relative luminance 0.913; OKLCH L 96.2% C 0.140 H 116.9°. Best body text is #000000 at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#ECFF8D
RGBrgb(236, 255, 141)
HSLhsl(70, 100%, 78%)
HSVhsv(70, 45%, 100%)
CMYKcmyk(7.5%, 0%, 44.7%, 0%)
CIE-LABlab(96.52, -22.65, 52.15)
CIE-LCHlch(96.52, 56.86, 113.48°)
OKLaboklab(96.21% -0.0635 0.1253)
OKLCHoklch(96.21% 0.14 116.9)
XYZxyz(75.1605, 91.2766, 38.8528)
Luminance0.9128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF8D #A08DFF
analogous
#FFD98D #ECFF8D #B3FF8D
triadic
#ECFF8D #8DECFF #FF8DEC
tetradic
#ECFF8D #8DFFD9 #A08DFF #FF8DB3
square
#ECFF8D #8DFFD9 #A08DFF #FF8DB3
split-complementary
#ECFF8D #8DB3FF #D98DFF
monochromatic
#D8FF13 #E2FF50 #ECFF8D #F6FFCA #FAFFE0

Accessibility & contrast

On white

1.09
#ECFF8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.26
#ECFF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF8D
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF8D#FFFFFF#000000##000000
##ECFF8D1.001.0919.2619.26
#FFFFFF1.091.0021.0021.00
#00000019.2621.001.001.00
##00000019.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF483
Deuteranopia (green-blind)
#FFF693
Tritanopia (blue-blind)
#F7F4E4
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #ecff8d;
/* rgb */ color: rgb(236, 255, 141);
/* oklch */ color: oklch(96.2% 0.140 116.9);
Tailwind
colors: {
  custom: {
    50: '#f4ffb0',
    500: '#ecff8d',
    950: '#000000',
  },
}
SCSS
$custom: #ecff8d;
$custom-light: #f4ffb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff8d",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 141
  },
  "hsl": {
    "h": 70,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.96213,
    "c": 0.14049,
    "h": 116.9
  },
  "luminance": 0.91276
}

Semantic roles & 50–950 ramp

primary
#ECFF8D
secondary
#6850E0
accent
#00E626
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171811
muted
#858681

Preview Lab

Preview with #ECFF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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