#9EC942#9EC942

#9EC942 is a light, vivid yellow-green. Relative luminance 0.494; OKLCH L 77.9% C 0.167 H 125.4°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#9EC942
RGBrgb(158, 201, 66)
HSLhsl(79, 56%, 52%)
HSVhsv(79, 67%, 79%)
CMYKcmyk(21.4%, 0%, 67.2%, 21.2%)
CIE-LABlab(75.72, -33.69, 60.17)
CIE-LCHlch(75.72, 68.95, 119.24°)
OKLaboklab(77.92% -0.0968 0.1363)
OKLCHoklch(77.92% 0.167 125.4)
XYZxyz(35.9708, 49.4353, 12.8001)
Luminance0.4944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC942 #6D42C9
analogous
#C9B142 #9EC942 #5BC942
triadic
#9EC942 #429EC9 #C9429E
tetradic
#9EC942 #42C9B1 #6D42C9 #C9425B
square
#9EC942 #42C9B1 #6D42C9 #C9425B
split-complementary
#9EC942 #425BC9 #B142C9
monochromatic
#577020 #7CA02E #9EC942 #B6D772 #CFE4A1

Accessibility & contrast

On white

1.93
#9EC942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#9EC942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC942
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC942#FFFFFF#000000##000000
##9EC9421.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ec942;
/* rgb */ color: rgb(158, 201, 66);
/* oklch */ color: oklch(77.9% 0.167 125.4);
Tailwind
colors: {
  custom: {
    50: '#bed97d',
    500: '#9ec942',
    950: '#000000',
  },
}
SCSS
$custom: #9ec942;
$custom-light: #bed97d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec942",
  "rgb": {
    "r": 158,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 79.111,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77922,
    "c": 0.16716,
    "h": 125.4
  },
  "luminance": 0.49436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9EC942

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

Preview Lab → · Contrast checker → · Palette generator →

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