#9EB171#9EB171

#9EB171 is a light, moderate yellow-green. Relative luminance 0.399; OKLCH L 73.0% C 0.089 H 122.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#9EB171
RGBrgb(158, 177, 113)
HSLhsl(78, 29%, 57%)
HSVhsv(78, 36%, 69%)
CMYKcmyk(10.7%, 0%, 36.2%, 30.6%)
CIE-LABlab(69.40, -17.39, 30.61)
CIE-LCHlch(69.40, 35.21, 119.60°)
OKLaboklab(73.01% -0.0474 0.0756)
OKLCHoklch(73.01% 0.089 122.1)
XYZxyz(32.8032, 39.9056, 21.5940)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB171 #8471B1
analogous
#B1A471 #9EB171 #7EB171
triadic
#9EB171 #719EB1 #B1719E
tetradic
#9EB171 #71B1A4 #8471B1 #B1717E
square
#9EB171 #71B1A4 #8471B1 #B1717E
split-complementary
#9EB171 #717EB1 #A471B1
monochromatic
#5E6C3B #809451 #9EB171 #B9C799 #D4DCC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB171#FFFFFF#000000##000000
##9EB1711.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)
#B8AA6C
Deuteranopia (green-blind)
#B6A974
Tritanopia (blue-blind)
#A3ABA1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb171;
/* rgb */ color: rgb(158, 177, 113);
/* oklch */ color: oklch(73.0% 0.089 122.1);
Tailwind
colors: {
  custom: {
    50: '#bbc89a',
    500: '#9eb171',
    950: '#000000',
  },
}
SCSS
$custom: #9eb171;
$custom-light: #bbc89a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb171",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 113
  },
  "hsl": {
    "h": 77.813,
    "s": 29.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7301,
    "c": 0.08925,
    "h": 122.1
  },
  "luminance": 0.39906
}

Semantic roles & 50–950 ramp

primary
#9EB171
secondary
#BAB2CC
accent
#62C580
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9EB171

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

Preview Lab → · Contrast checker → · Palette generator →

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