#9ECC4F#9ECC4F

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

Color values

HEX#9ECC4F
RGBrgb(158, 204, 79)
HSLhsl(82, 55%, 55%)
HSVhsv(82, 61%, 80%)
CMYKcmyk(22.5%, 0%, 61.3%, 20%)
CIE-LABlab(76.69, -34.10, 55.86)
CIE-LCHlch(76.69, 65.45, 121.40°)
OKLaboklab(78.74% -0.0968 0.1289)
OKLCHoklch(78.74% 0.161 126.9)
XYZxyz(37.1047, 51.0188, 15.2884)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC4F #7D4FCC
analogous
#CCBB4F #9ECC4F #5FCC4F
triadic
#9ECC4F #4F9ECC #CC4F9E
tetradic
#9ECC4F #4FCCBB #7D4FCC #CC4F5F
square
#9ECC4F #4FCCBB #7D4FCC #CC4F5F
split-complementary
#9ECC4F #4F5FCC #BB4FCC
monochromatic
#5C7D24 #7FAC32 #9ECC4F #B8DA7E #D2E7AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9ECC4F#FFFFFF#000000##000000
##9ECC4F1.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF40
Deuteranopia (green-blind)
#D0BC58
Tritanopia (blue-blind)
#A4C3B2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc4f;
/* rgb */ color: rgb(158, 204, 79);
/* oklch */ color: oklch(78.7% 0.161 126.9);
Tailwind
colors: {
  custom: {
    50: '#bedb85',
    500: '#9ecc4f',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc4f;
$custom-light: #bedb85;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc4f",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 82.08,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78739,
    "c": 0.16119,
    "h": 126.9
  },
  "luminance": 0.51019
}

Semantic roles & 50–950 ramp

primary
#9ECC4F
secondary
#563B84
accent
#49DE80
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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