#9ECC50#9ECC50

#9ECC50 is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 78.7% C 0.160 H 127.0°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#9ECC50
RGBrgb(158, 204, 80)
HSLhsl(82, 55%, 56%)
HSVhsv(82, 61%, 80%)
CMYKcmyk(22.5%, 0%, 60.8%, 20%)
CIE-LABlab(76.70, -34.02, 55.44)
CIE-LCHlch(76.70, 65.04, 121.53°)
OKLaboklab(78.75% -0.0965 0.1281)
OKLCHoklch(78.75% 0.16 127)
XYZxyz(37.1414, 51.0334, 15.4815)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC50 #7E50CC
analogous
#CCBC50 #9ECC50 #60CC50
triadic
#9ECC50 #509ECC #CC509E
tetradic
#9ECC50 #50CCBC #7E50CC #CC5060
square
#9ECC50 #50CCBC #7E50CC #CC5060
split-complementary
#9ECC50 #5060CC #BC50CC
monochromatic
#5C7D24 #7FAD32 #9ECC50 #B8DA7F #D3E8AF

Accessibility & contrast

On white

1.87
#9ECC50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#9ECC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECC50
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECC50#FFFFFF#000000##000000
##9ECC501.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#A3C3B2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc50;
/* rgb */ color: rgb(158, 204, 80);
/* oklch */ color: oklch(78.7% 0.160 127.0);
Tailwind
colors: {
  custom: {
    50: '#bedb86',
    500: '#9ecc50',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc50;
$custom-light: #bedb86;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc50",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 82.258,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78749,
    "c": 0.16038,
    "h": 127
  },
  "luminance": 0.51034
}

Semantic roles & 50–950 ramp

primary
#9ECC50
secondary
#573B85
accent
#4ADE81
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECC50

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

Preview Lab → · Contrast checker → · Palette generator →

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