#9DB172#9DB172

#9DB172 is a light, moderate yellow-green. Relative luminance 0.398; OKLCH L 73.0% C 0.088 H 122.9°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#9DB172
RGBrgb(157, 177, 114)
HSLhsl(79, 29%, 57%)
HSVhsv(79, 36%, 69%)
CMYKcmyk(11.3%, 0%, 35.6%, 30.6%)
CIE-LABlab(69.35, -17.65, 30.00)
CIE-LCHlch(69.35, 34.80, 120.47°)
OKLaboklab(72.95% -0.0481 0.0742)
OKLCHoklch(72.95% 0.088 122.9)
XYZxyz(32.6638, 39.8272, 21.8829)
Luminance0.3983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB172 #8672B1
analogous
#B1A672 #9DB172 #7EB172
triadic
#9DB172 #729DB1 #B1729D
tetradic
#9DB172 #72B1A6 #8672B1 #B1727E
square
#9DB172 #72B1A6 #8672B1 #B1727E
split-complementary
#9DB172 #727EB1 #A672B1
monochromatic
#5D6D3C #7F9452 #9DB172 #B8C799 #D4DDC1

Accessibility & contrast

On white

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

On black

8.97
#9DB172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB172
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB172#FFFFFF#000000##000000
##9DB1721.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9db172;
/* rgb */ color: rgb(157, 177, 114);
/* oklch */ color: oklch(73.0% 0.088 122.9);
Tailwind
colors: {
  custom: {
    50: '#bac89b',
    500: '#9db172',
    950: '#000000',
  },
}
SCSS
$custom: #9db172;
$custom-light: #bac89b;
$custom-dark: #000000;
JSON
{
  "hex": "#9db172",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 114
  },
  "hsl": {
    "h": 79.048,
    "s": 28.767,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72953,
    "c": 0.08843,
    "h": 122.9
  },
  "luminance": 0.39827
}

Semantic roles & 50–950 ramp

primary
#9DB172
secondary
#BBB3CC
accent
#63C582
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9DB172

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

Preview Lab → · Contrast checker → · Palette generator →

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