#9ECC59#9ECC59

#9ECC59 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 78.8% C 0.153 H 127.8°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#9ECC59
RGBrgb(158, 204, 89)
HSLhsl(84, 53%, 57%)
HSVhsv(84, 56%, 80%)
CMYKcmyk(22.5%, 0%, 56.4%, 20%)
CIE-LABlab(76.79, -33.23, 51.54)
CIE-LCHlch(76.79, 61.33, 122.81°)
OKLaboklab(78.85% -0.0935 0.1208)
OKLCHoklch(78.85% 0.153 127.8)
XYZxyz(37.4964, 51.1755, 17.3516)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC59 #8759CC
analogous
#CCC059 #9ECC59 #65CC59
triadic
#9ECC59 #599ECC #CC599E
tetradic
#9ECC59 #59CCC0 #8759CC #CC5965
square
#9ECC59 #59CCC0 #8759CC #CC5965
split-complementary
#9ECC59 #5965CC #C059CC
monochromatic
#5E8328 #80B136 #9ECC59 #B9DA88 #D5E9B7

Accessibility & contrast

On white

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

On black

11.24
#9ECC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECC59
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECC59#FFFFFF#000000##000000
##9ECC591.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4D
Deuteranopia (green-blind)
#CFBD61
Tritanopia (blue-blind)
#A3C4B3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc59;
/* rgb */ color: rgb(158, 204, 89);
/* oklch */ color: oklch(78.8% 0.153 127.8);
Tailwind
colors: {
  custom: {
    50: '#bddb8b',
    500: '#9ecc59',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc59;
$custom-light: #bddb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc59",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 84,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78846,
    "c": 0.15272,
    "h": 127.8
  },
  "luminance": 0.51176
}

Semantic roles & 50–950 ramp

primary
#9ECC59
secondary
#5D3F8A
accent
#4BDC85
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #9ECC59

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

Preview Lab → · Contrast checker → · Palette generator →

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