#9EB342#9EB342

#9EB342 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.8% C 0.140 H 119.0°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#9EB342
RGBrgb(158, 179, 66)
HSLhsl(71, 46%, 48%)
HSVhsv(71, 63%, 70%)
CMYKcmyk(11.7%, 0%, 63.1%, 29.8%)
CIE-LABlab(69.40, -23.18, 53.50)
CIE-LCHlch(69.40, 58.30, 113.42°)
OKLaboklab(72.82% -0.0677 0.1223)
OKLCHoklch(72.82% 0.14 119)
XYZxyz(31.2045, 39.9028, 11.2113)
Luminance0.3990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB342 #5742B3
analogous
#B38F42 #9EB342 #66B342
triadic
#9EB342 #429EB3 #B3429E
tetradic
#9EB342 #42B38F #5742B3 #B34266
square
#9EB342 #42B38F #5742B3 #B34266
split-complementary
#9EB342 #4266B3 #8F42B3
monochromatic
#4F5A21 #778632 #9EB342 #B7C86A #CCD997

Accessibility & contrast

On white

2.34
#9EB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#9EB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB342
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB342#FFFFFF#000000##000000
##9EB3421.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA934
Deuteranopia (green-blind)
#BCAA4A
Tritanopia (blue-blind)
#A7AA9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb342;
/* rgb */ color: rgb(158, 179, 66);
/* oklch */ color: oklch(72.8% 0.140 119.0);
Tailwind
colors: {
  custom: {
    50: '#bdc97c',
    500: '#9eb342',
    950: '#000000',
  },
}
SCSS
$custom: #9eb342;
$custom-light: #bdc97c;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb342",
  "rgb": {
    "r": 158,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 71.15,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72824,
    "c": 0.13972,
    "h": 119
  },
  "luminance": 0.39903
}

Semantic roles & 50–950 ramp

primary
#9EB342
secondary
#978CC4
accent
#52D66B
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9EB342

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

Preview Lab → · Contrast checker → · Palette generator →

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