#9ECA3B#9ECA3B

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

Color values

HEX#9ECA3B
RGBrgb(158, 202, 59)
HSLhsl(78, 57%, 51%)
HSVhsv(78, 71%, 79%)
CMYKcmyk(21.8%, 0%, 70.8%, 20.8%)
CIE-LABlab(75.96, -34.59, 63.05)
CIE-LCHlch(75.96, 71.91, 118.75°)
OKLaboklab(78.1% -0.0999 0.1413)
OKLCHoklch(78.1% 0.173 125.2)
XYZxyz(36.0107, 49.8255, 11.8569)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECA3B #673BCA
analogous
#CAAF3B #9ECA3B #56CA3B
triadic
#9ECA3B #3B9ECA #CA3B9E
tetradic
#9ECA3B #3BCAAF #673BCA #CA3B56
square
#9ECA3B #3BCAAF #673BCA #CA3B56
split-complementary
#9ECA3B #3B56CA #AF3BCA
monochromatic
#556D1E #7A9D2B #9ECA3B #B6D76B #CEE49B

Accessibility & contrast

On white

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

On black

10.97
#9ECA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECA3B
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECA3B#FFFFFF#000000##000000
##9ECA3B1.001.9210.9710.97
#FFFFFF1.921.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eca3b;
/* rgb */ color: rgb(158, 202, 59);
/* oklch */ color: oklch(78.1% 0.173 125.2);
Tailwind
colors: {
  custom: {
    50: '#beda7a',
    500: '#9eca3b',
    950: '#000000',
  },
}
SCSS
$custom: #9eca3b;
$custom-light: #beda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eca3b",
  "rgb": {
    "r": 158,
    "g": 202,
    "b": 59
  },
  "hsl": {
    "h": 78.462,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78101,
    "c": 0.17305,
    "h": 125.2
  },
  "luminance": 0.49826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9ECA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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