#9EC342#9EC342

#9EC342 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.5% C 0.160 H 123.9°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#9EC342
RGBrgb(158, 195, 66)
HSLhsl(77, 52%, 51%)
HSVhsv(77, 66%, 76%)
CMYKcmyk(19%, 0%, 66.2%, 23.5%)
CIE-LABlab(73.99, -30.89, 58.37)
CIE-LCHlch(73.99, 66.04, 117.89°)
OKLaboklab(76.52% -0.0891 0.1325)
OKLCHoklch(76.52% 0.16 123.9)
XYZxyz(34.5993, 46.6924, 12.3429)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC342 #6742C3
analogous
#C3A742 #9EC342 #5DC342
triadic
#9EC342 #429EC3 #C3429E
tetradic
#9EC342 #42C3A7 #6742C3 #C3425D
square
#9EC342 #42C3A7 #6742C3 #C3425D
split-complementary
#9EC342 #425DC3 #A742C3
monochromatic
#556921 #7A9830 #9EC342 #B6D270 #CEE09F

Accessibility & contrast

On white

2.03
#9EC342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#9EC342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC342
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC342#FFFFFF#000000##000000
##9EC3421.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#A5BAA9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9ec342;
/* rgb */ color: rgb(158, 195, 66);
/* oklch */ color: oklch(76.5% 0.160 123.9);
Tailwind
colors: {
  custom: {
    50: '#bed57d',
    500: '#9ec342',
    950: '#000000',
  },
}
SCSS
$custom: #9ec342;
$custom-light: #bed57d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec342",
  "rgb": {
    "r": 158,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 77.209,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76524,
    "c": 0.15967,
    "h": 123.9
  },
  "luminance": 0.46693
}

Semantic roles & 50–950 ramp

primary
#9EC342
secondary
#A494CD
accent
#4DDB75
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9EC342

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

Preview Lab → · Contrast checker → · Palette generator →

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