#9ECC3A#9ECC3A

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

Color values

HEX#9ECC3A
RGBrgb(158, 204, 58)
HSLhsl(79, 59%, 51%)
HSVhsv(79, 72%, 80%)
CMYKcmyk(22.5%, 0%, 71.6%, 20%)
CIE-LABlab(76.53, -35.56, 63.97)
CIE-LCHlch(76.53, 73.19, 119.07°)
OKLaboklab(78.56% -0.1026 0.1431)
OKLCHoklch(78.56% 0.176 125.6)
XYZxyz(36.4574, 50.7598, 11.8791)
Luminance0.5076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC3A #683ACC
analogous
#CCB13A #9ECC3A #55CC3A
triadic
#9ECC3A #3A9ECC #CC3A9E
tetradic
#9ECC3A #3ACCB1 #683ACC #CC3A55
square
#9ECC3A #3ACCB1 #683ACC #CC3A55
split-complementary
#9ECC3A #3A55CC #B13ACC
monochromatic
#556F1D #7AA029 #9ECC3A #B6D96B #CEE59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9ECC3A#FFFFFF#000000##000000
##9ECC3A1.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)
#D7BF20
Deuteranopia (green-blind)
#D1BC47
Tritanopia (blue-blind)
#A5C2B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc3a;
/* rgb */ color: rgb(158, 204, 58);
/* oklch */ color: oklch(78.6% 0.176 125.6);
Tailwind
colors: {
  custom: {
    50: '#bedb7a',
    500: '#9ecc3a',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc3a;
$custom-light: #bedb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc3a",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 78.904,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78562,
    "c": 0.1761,
    "h": 125.6
  },
  "luminance": 0.5076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9ECC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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