#9ECC3F#9ECC3F

#9ECC3F is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.6% C 0.173 H 125.9°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#9ECC3F
RGBrgb(158, 204, 63)
HSLhsl(80, 58%, 52%)
HSVhsv(80, 69%, 80%)
CMYKcmyk(22.5%, 0%, 69.1%, 20%)
CIE-LABlab(76.57, -35.26, 62.18)
CIE-LCHlch(76.57, 71.48, 119.55°)
OKLaboklab(78.6% -0.1014 0.1401)
OKLCHoklch(78.6% 0.173 125.9)
XYZxyz(36.5908, 50.8132, 12.5818)
Luminance0.5081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC3F #6D3FCC
analogous
#CCB33F #9ECC3F #58CC3F
triadic
#9ECC3F #3F9ECC #CC3F9E
tetradic
#9ECC3F #3FCCB3 #6D3FCC #CC3F58
square
#9ECC3F #3FCCB3 #6D3FCC #CC3F58
split-complementary
#9ECC3F #3F58CC #B33FCC
monochromatic
#57721E #7CA32B #9ECC3F #B6D96F #CFE6A0

Accessibility & contrast

On white

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

On black

11.16
#9ECC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECC3F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECC3F#FFFFFF#000000##000000
##9ECC3F1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ecc3f;
/* rgb */ color: rgb(158, 204, 63);
/* oklch */ color: oklch(78.6% 0.173 125.9);
Tailwind
colors: {
  custom: {
    50: '#bedb7c',
    500: '#9ecc3f',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc3f;
$custom-light: #bedb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc3f",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 79.574,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78598,
    "c": 0.17293,
    "h": 125.9
  },
  "luminance": 0.50814
}

Semantic roles & 50–950 ramp

primary
#9ECC3F
secondary
#4B347B
accent
#47E179
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ECC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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