#9ECA3A#9ECA3A

#9ECA3A is a light, vivid yellow-green. Relative luminance 0.498; OKLCH L 78.1% C 0.174 H 125.2°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#9ECA3A
RGBrgb(158, 202, 58)
HSLhsl(78, 58%, 51%)
HSVhsv(78, 71%, 79%)
CMYKcmyk(21.8%, 0%, 71.3%, 20.8%)
CIE-LABlab(75.96, -34.65, 63.40)
CIE-LCHlch(75.96, 72.25, 118.66°)
OKLaboklab(78.09% -0.1001 0.1419)
OKLCHoklch(78.09% 0.174 125.2)
XYZxyz(35.9851, 49.8152, 11.7216)
Luminance0.4982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECA3A #663ACA
analogous
#CAAE3A #9ECA3A #56CA3A
triadic
#9ECA3A #3A9ECA #CA3A9E
tetradic
#9ECA3A #3ACAAE #663ACA #CA3A56
square
#9ECA3A #3ACAAE #663ACA #CA3A56
split-complementary
#9ECA3A #3A56CA #AE3ACA
monochromatic
#546C1D #7A9D2A #9ECA3A #B6D76A #CDE49A

Accessibility & contrast

On white

1.92
#9ECA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#9ECA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECA3A
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECA3A#FFFFFF#000000##000000
##9ECA3A1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD20
Deuteranopia (green-blind)
#CFBB47
Tritanopia (blue-blind)
#A5C0AE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9eca3a;
/* rgb */ color: rgb(158, 202, 58);
/* oklch */ color: oklch(78.1% 0.174 125.2);
Tailwind
colors: {
  custom: {
    50: '#beda79',
    500: '#9eca3a',
    950: '#000000',
  },
}
SCSS
$custom: #9eca3a;
$custom-light: #beda79;
$custom-dark: #000000;
JSON
{
  "hex": "#9eca3a",
  "rgb": {
    "r": 158,
    "g": 202,
    "b": 58
  },
  "hsl": {
    "h": 78.333,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78094,
    "c": 0.17367,
    "h": 125.2
  },
  "luminance": 0.49816
}

Semantic roles & 50–950 ramp

primary
#9ECA3A
secondary
#A390D0
accent
#47E176
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #9ECA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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