#ECFF9E#ECFF9E

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

Color values

HEX#ECFF9E
RGBrgb(236, 255, 158)
HSLhsl(72, 100%, 81%)
HSVhsv(72, 38%, 100%)
CMYKcmyk(7.5%, 0%, 38%, 0%)
CIE-LABlab(96.75, -20.83, 44.29)
CIE-LCHlch(96.75, 48.94, 115.20°)
OKLaboklab(96.46% -0.0572 0.1084)
OKLCHoklch(96.46% 0.123 117.8)
XYZxyz(76.5238, 91.8220, 46.0332)
Luminance0.9182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF9E #B19EFF
analogous
#FFE29E #ECFF9E #BBFF9E
triadic
#ECFF9E #9EECFF #FF9EEC
tetradic
#ECFF9E #9EFFE2 #B19EFF #FF9EBB
square
#ECFF9E #9EFFE2 #B19EFF #FF9EBB
split-complementary
#ECFF9E #9EBBFF #E29EFF
monochromatic
#D4FF24 #E0FF61 #ECFF9E #F8FFDB #F9FFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFF9E#FFFFFF#000000##000000
##ECFF9E1.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)
#FFF597
Deuteranopia (green-blind)
#FFF6A3
Tritanopia (blue-blind)
#F5F5E7
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #ecff9e;
/* rgb */ color: rgb(236, 255, 158);
/* oklch */ color: oklch(96.5% 0.123 117.8);
Tailwind
colors: {
  custom: {
    50: '#f3ffbc',
    500: '#ecff9e',
    950: '#000000',
  },
}
SCSS
$custom: #ecff9e;
$custom-light: #f3ffbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff9e",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 158
  },
  "hsl": {
    "h": 71.753,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.96464,
    "c": 0.1226,
    "h": 117.8
  },
  "luminance": 0.91821
}

Semantic roles & 50–950 ramp

primary
#ECFF9E
secondary
#785FE3
accent
#00E62D
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171812
muted
#858682

Preview Lab

Preview with #ECFF9E

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

Preview Lab → · Contrast checker → · Palette generator →

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