#9ECE40#9ECE40

#9ECE40 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.1% C 0.175 H 126.4°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#9ECE40
RGBrgb(158, 206, 64)
HSLhsl(80, 59%, 53%)
HSVhsv(80, 69%, 81%)
CMYKcmyk(23.3%, 0%, 68.9%, 19.2%)
CIE-LABlab(77.15, -36.11, 62.40)
CIE-LCHlch(77.15, 72.09, 120.05°)
OKLaboklab(79.07% -0.1036 0.1407)
OKLCHoklch(79.07% 0.175 126.4)
XYZxyz(37.0974, 51.7813, 12.8898)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECE40 #7040CE
analogous
#CEB740 #9ECE40 #57CE40
triadic
#9ECE40 #409ECE #CE409E
tetradic
#9ECE40 #40CEB7 #7040CE #CE4057
square
#9ECE40 #40CEB7 #7040CE #CE4057
split-complementary
#9ECE40 #4057CE #B740CE
monochromatic
#58751E #7CA62B #9ECE40 #B7DA71 #CFE7A1

Accessibility & contrast

On white

1.85
#9ECE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#9ECE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECE40
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECE40#FFFFFF#000000##000000
##9ECE401.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C02A
Deuteranopia (green-blind)
#D2BE4C
Tritanopia (blue-blind)
#A4C5B2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #9ece40;
/* rgb */ color: rgb(158, 206, 64);
/* oklch */ color: oklch(79.1% 0.175 126.4);
Tailwind
colors: {
  custom: {
    50: '#bedd7d',
    500: '#9ece40',
    950: '#000000',
  },
}
SCSS
$custom: #9ece40;
$custom-light: #bedd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ece40",
  "rgb": {
    "r": 158,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 80.282,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79074,
    "c": 0.17474,
    "h": 126.4
  },
  "luminance": 0.51782
}

Semantic roles & 50–950 ramp

primary
#9ECE40
secondary
#4D347E
accent
#45E27A
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ECE40

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

Preview Lab → · Contrast checker → · Palette generator →

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