#9ECC4C#9ECC4C

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

Color values

HEX#9ECC4C
RGBrgb(158, 204, 76)
HSLhsl(82, 56%, 55%)
HSVhsv(82, 63%, 80%)
CMYKcmyk(22.5%, 0%, 62.7%, 20%)
CIE-LABlab(76.66, -34.34, 57.11)
CIE-LCHlch(76.66, 66.64, 121.02°)
OKLaboklab(78.71% -0.0977 0.1312)
OKLCHoklch(78.71% 0.164 126.7)
XYZxyz(36.9980, 50.9761, 14.7262)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC4C #7A4CCC
analogous
#CCBA4C #9ECC4C #5ECC4C
triadic
#9ECC4C #4C9ECC #CC4C9E
tetradic
#9ECC4C #4CCCBA #7A4CCC #CC4C5E
square
#9ECC4C #4CCCBA #7A4CCC #CC4C5E
split-complementary
#9ECC4C #4C5ECC #BA4CCC
monochromatic
#5B7B23 #7FAA31 #9ECC4C #B8DA7C #D2E7AB

Accessibility & contrast

On white

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

On black

11.20
#9ECC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECC4C
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECC4C#FFFFFF#000000##000000
##9ECC4C1.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3C
Deuteranopia (green-blind)
#D0BC55
Tritanopia (blue-blind)
#A4C3B1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc4c;
/* rgb */ color: rgb(158, 204, 76);
/* oklch */ color: oklch(78.7% 0.164 126.7);
Tailwind
colors: {
  custom: {
    50: '#bedb83',
    500: '#9ecc4c',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc4c;
$custom-light: #bedb83;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc4c",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 81.563,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7871,
    "c": 0.16356,
    "h": 126.7
  },
  "luminance": 0.50977
}

Semantic roles & 50–950 ramp

primary
#9ECC4C
secondary
#543983
accent
#49DF7F
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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