#ECFF8E#ECFF8E

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

Color values

HEX#ECFF8E
RGBrgb(236, 255, 142)
HSLhsl(70, 100%, 78%)
HSVhsv(70, 44%, 100%)
CMYKcmyk(7.5%, 0%, 44.3%, 0%)
CIE-LABlab(96.54, -22.55, 51.69)
CIE-LCHlch(96.54, 56.40, 113.57°)
OKLaboklab(96.23% -0.0632 0.1244)
OKLCHoklch(96.23% 0.139 116.9)
XYZxyz(75.2352, 91.3065, 39.2464)
Luminance0.9131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF8E #A18EFF
analogous
#FFD98E #ECFF8E #B4FF8E
triadic
#ECFF8E #8EECFF #FF8EEC
tetradic
#ECFF8E #8EFFD9 #A18EFF #FF8EB4
square
#ECFF8E #8EFFD9 #A18EFF #FF8EB4
split-complementary
#ECFF8E #8EB4FF #D98EFF
monochromatic
#D7FF14 #E2FF51 #ECFF8E #F6FFCB #FAFFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFF8E#FFFFFF#000000##000000
##ECFF8E1.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)
#FFF585
Deuteranopia (green-blind)
#FFF694
Tritanopia (blue-blind)
#F7F4E4
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #ecff8e;
/* rgb */ color: rgb(236, 255, 142);
/* oklch */ color: oklch(96.2% 0.139 116.9);
Tailwind
colors: {
  custom: {
    50: '#f4ffb1',
    500: '#ecff8e',
    950: '#000000',
  },
}
SCSS
$custom: #ecff8e;
$custom-light: #f4ffb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff8e",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 142
  },
  "hsl": {
    "h": 70.088,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.96227,
    "c": 0.13948,
    "h": 116.9
  },
  "luminance": 0.91306
}

Semantic roles & 50–950 ramp

primary
#ECFF8E
secondary
#6951E0
accent
#00E627
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171811
muted
#858681

Preview Lab

Preview with #ECFF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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