#9EB142#9EB142

#9EB142 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.4% C 0.137 H 118.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#9EB142
RGBrgb(158, 177, 66)
HSLhsl(70, 46%, 48%)
HSVhsv(70, 63%, 69%)
CMYKcmyk(10.7%, 0%, 62.7%, 30.6%)
CIE-LABlab(68.83, -22.18, 52.89)
CIE-LCHlch(68.83, 57.35, 112.76°)
OKLaboklab(72.36% -0.0649 0.121)
OKLCHoklch(72.36% 0.137 118.2)
XYZxyz(30.8066, 39.1070, 11.0787)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB142 #5542B1
analogous
#B18C42 #9EB142 #67B142
triadic
#9EB142 #429EB1 #B1429E
tetradic
#9EB142 #42B18C #5542B1 #B14267
square
#9EB142 #42B18C #5542B1 #B14267
split-complementary
#9EB142 #4267B1 #8C42B1
monochromatic
#4E5821 #768431 #9EB142 #B7C769 #CCD896

Accessibility & contrast

On white

2.38
#9EB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#9EB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB142
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB142#FFFFFF#000000##000000
##9EB1421.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#A7A89A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb142;
/* rgb */ color: rgb(158, 177, 66);
/* oklch */ color: oklch(72.4% 0.137 118.2);
Tailwind
colors: {
  custom: {
    50: '#bdc87b',
    500: '#9eb142',
    950: '#000000',
  },
}
SCSS
$custom: #9eb142;
$custom-light: #bdc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb142",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 70.27,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72365,
    "c": 0.13726,
    "h": 118.2
  },
  "luminance": 0.39107
}

Semantic roles & 50–950 ramp

primary
#9EB142
secondary
#958BC3
accent
#52D569
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9EB142

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

Preview Lab → · Contrast checker → · Palette generator →

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