#9ECE4F#9ECE4F

#9ECE4F is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.2% C 0.164 H 127.3°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#9ECE4F
RGBrgb(158, 206, 79)
HSLhsl(83, 56%, 56%)
HSVhsv(83, 62%, 81%)
CMYKcmyk(23.3%, 0%, 61.7%, 19.2%)
CIE-LABlab(77.27, -35.02, 56.49)
CIE-LCHlch(77.27, 66.47, 121.79°)
OKLaboklab(79.21% -0.0993 0.1302)
OKLCHoklch(79.21% 0.164 127.3)
XYZxyz(37.5831, 51.9756, 15.4478)
Luminance0.5198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECE4F #7F4FCE
analogous
#CEBE4F #9ECE4F #5ECE4F
triadic
#9ECE4F #4F9ECE #CE4F9E
tetradic
#9ECE4F #4FCEBE #7F4FCE #CE4F5E
square
#9ECE4F #4FCEBE #7F4FCE #CE4F5E
split-complementary
#9ECE4F #4F5ECE #BE4FCE
monochromatic
#5D7F23 #7FAF31 #9ECE4F #B8DB7F #D3E9AF

Accessibility & contrast

On white

1.84
#9ECE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#9ECE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECE4F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECE4F#FFFFFF#000000##000000
##9ECE4F1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C140
Deuteranopia (green-blind)
#D1BE58
Tritanopia (blue-blind)
#A3C5B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9ece4f;
/* rgb */ color: rgb(158, 206, 79);
/* oklch */ color: oklch(79.2% 0.164 127.3);
Tailwind
colors: {
  custom: {
    50: '#bedd85',
    500: '#9ece4f',
    950: '#000000',
  },
}
SCSS
$custom: #9ece4f;
$custom-light: #bedd85;
$custom-dark: #000000;
JSON
{
  "hex": "#9ece4f",
  "rgb": {
    "r": 158,
    "g": 206,
    "b": 79
  },
  "hsl": {
    "h": 82.677,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79205,
    "c": 0.16379,
    "h": 127.3
  },
  "luminance": 0.51976
}

Semantic roles & 50–950 ramp

primary
#9ECE4F
secondary
#573A87
accent
#48E081
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECE4F

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

Preview Lab → · Contrast checker → · Palette generator →

#9ECE4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva