#9ECC39#9ECC39

#9ECC39 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.6% C 0.177 H 125.6°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#9ECC39
RGBrgb(158, 204, 57)
HSLhsl(79, 59%, 51%)
HSVhsv(79, 72%, 80%)
CMYKcmyk(22.5%, 0%, 72.1%, 20%)
CIE-LABlab(76.53, -35.62, 64.32)
CIE-LCHlch(76.53, 73.52, 118.98°)
OKLaboklab(78.55% -0.1029 0.1437)
OKLCHoklch(78.55% 0.177 125.6)
XYZxyz(36.4322, 50.7497, 11.7464)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC39 #6739CC
analogous
#CCB139 #9ECC39 #54CC39
triadic
#9ECC39 #399ECC #CC399E
tetradic
#9ECC39 #39CCB1 #6739CC #CC3954
square
#9ECC39 #39CCB1 #6739CC #CC3954
split-complementary
#9ECC39 #3954CC #B139CC
monochromatic
#556E1C #7A9F29 #9ECC39 #B6D96A #CEE59A

Accessibility & contrast

On white

1.88
#9ECC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#9ECC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECC39
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECC39#FFFFFF#000000##000000
##9ECC391.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1E
Deuteranopia (green-blind)
#D1BC46
Tritanopia (blue-blind)
#A5C2B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc39;
/* rgb */ color: rgb(158, 204, 57);
/* oklch */ color: oklch(78.6% 0.177 125.6);
Tailwind
colors: {
  custom: {
    50: '#bedb79',
    500: '#9ecc39',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc39;
$custom-light: #bedb79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc39",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 78.776,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78555,
    "c": 0.1767,
    "h": 125.6
  },
  "luminance": 0.5075
}

Semantic roles & 50–950 ramp

primary
#9ECC39
secondary
#483278
accent
#46E277
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ECC39

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

Preview Lab → · Contrast checker → · Palette generator →

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