#9ECB3A#9ECB3A

#9ECB3A is a light, vivid yellow-green. Relative luminance 0.503; OKLCH L 78.3% C 0.175 H 125.4°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#9ECB3A
RGBrgb(158, 203, 58)
HSLhsl(79, 58%, 51%)
HSVhsv(79, 71%, 80%)
CMYKcmyk(22.2%, 0%, 71.4%, 20.4%)
CIE-LABlab(76.24, -35.11, 63.69)
CIE-LCHlch(76.24, 72.72, 118.86°)
OKLaboklab(78.33% -0.1014 0.1425)
OKLCHoklch(78.33% 0.175 125.4)
XYZxyz(36.2204, 50.2860, 11.8001)
Luminance0.5029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECB3A #673ACB
analogous
#CBB03A #9ECB3A #55CB3A
triadic
#9ECB3A #3A9ECB #CB3A9E
tetradic
#9ECB3A #3ACBB0 #673ACB #CB3A55
square
#9ECB3A #3ACBB0 #673ACB #CB3A55
split-complementary
#9ECB3A #3A55CB #B03ACB
monochromatic
#556E1D #7A9E2A #9ECB3A #B6D86A #CEE59B

Accessibility & contrast

On white

1.90
#9ECB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#9ECB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECB3A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECB3A#FFFFFF#000000##000000
##9ECB3A1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE20
Deuteranopia (green-blind)
#D0BB47
Tritanopia (blue-blind)
#A5C1AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9ecb3a;
/* rgb */ color: rgb(158, 203, 58);
/* oklch */ color: oklch(78.3% 0.175 125.4);
Tailwind
colors: {
  custom: {
    50: '#bedb79',
    500: '#9ecb3a',
    950: '#000000',
  },
}
SCSS
$custom: #9ecb3a;
$custom-light: #bedb79;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecb3a",
  "rgb": {
    "r": 158,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 78.621,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78328,
    "c": 0.17489,
    "h": 125.4
  },
  "luminance": 0.50286
}

Semantic roles & 50–950 ramp

primary
#9ECB3A
secondary
#483277
accent
#46E176
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9ECB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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