#9DB171#9DB171

#9DB171 is a light, moderate yellow-green. Relative luminance 0.398; OKLCH L 72.9% C 0.090 H 122.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#9DB171
RGBrgb(157, 177, 113)
HSLhsl(79, 29%, 57%)
HSVhsv(79, 36%, 69%)
CMYKcmyk(11.3%, 0%, 36.2%, 30.6%)
CIE-LABlab(69.33, -17.78, 30.50)
CIE-LCHlch(69.33, 35.31, 120.24°)
OKLaboklab(72.93% -0.0485 0.0754)
OKLCHoklch(72.93% 0.09 122.7)
XYZxyz(32.6072, 39.8046, 21.5848)
Luminance0.3981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB171 #8571B1
analogous
#B1A571 #9DB171 #7DB171
triadic
#9DB171 #719DB1 #B1719D
tetradic
#9DB171 #71B1A5 #8571B1 #B1717D
square
#9DB171 #71B1A5 #8571B1 #B1717D
split-complementary
#9DB171 #717DB1 #A571B1
monochromatic
#5D6C3B #7F9451 #9DB171 #B8C799 #D4DCC0

Accessibility & contrast

On white

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

On black

8.96
#9DB171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB171
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB171#FFFFFF#000000##000000
##9DB1711.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA6C
Deuteranopia (green-blind)
#B5A974
Tritanopia (blue-blind)
#A2ABA1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db171;
/* rgb */ color: rgb(157, 177, 113);
/* oklch */ color: oklch(72.9% 0.090 122.7);
Tailwind
colors: {
  custom: {
    50: '#bbc89a',
    500: '#9db171',
    950: '#000000',
  },
}
SCSS
$custom: #9db171;
$custom-light: #bbc89a;
$custom-dark: #000000;
JSON
{
  "hex": "#9db171",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 113
  },
  "hsl": {
    "h": 78.75,
    "s": 29.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.72934,
    "c": 0.08962,
    "h": 122.7
  },
  "luminance": 0.39805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DB171

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

Preview Lab → · Contrast checker → · Palette generator →

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