#9ECA42#9ECA42

#9ECA42 is a light, vivid yellow-green. Relative luminance 0.499; OKLCH L 78.2% C 0.168 H 125.6°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#9ECA42
RGBrgb(158, 202, 66)
HSLhsl(79, 56%, 53%)
HSVhsv(79, 67%, 79%)
CMYKcmyk(21.8%, 0%, 67.3%, 20.8%)
CIE-LABlab(76.01, -34.15, 60.46)
CIE-LCHlch(76.01, 69.44, 119.45°)
OKLaboklab(78.16% -0.0981 0.1369)
OKLCHoklch(78.16% 0.168 125.6)
XYZxyz(36.2046, 49.9030, 12.8780)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECA42 #6E42CA
analogous
#CAB242 #9ECA42 #5ACA42
triadic
#9ECA42 #429ECA #CA429E
tetradic
#9ECA42 #42CAB2 #6E42CA #CA425A
square
#9ECA42 #42CAB2 #6E42CA #CA425A
split-complementary
#9ECA42 #425ACA #B242CA
monochromatic
#577220 #7CA22D #9ECA42 #B7D772 #CFE5A2

Accessibility & contrast

On white

1.91
#9ECA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#9ECA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECA42
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECA42#FFFFFF#000000##000000
##9ECA421.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2E
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#A5C1AF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9eca42;
/* rgb */ color: rgb(158, 202, 66);
/* oklch */ color: oklch(78.2% 0.168 125.6);
Tailwind
colors: {
  custom: {
    50: '#beda7e',
    500: '#9eca42',
    950: '#000000',
  },
}
SCSS
$custom: #9eca42;
$custom-light: #beda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eca42",
  "rgb": {
    "r": 158,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 79.412,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78155,
    "c": 0.16841,
    "h": 125.6
  },
  "luminance": 0.49904
}

Semantic roles & 50–950 ramp

primary
#9ECA42
secondary
#A996D1
accent
#48DF79
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9ECA42

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

Preview Lab → · Contrast checker → · Palette generator →

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