#9CB172#9CB172

#9CB172 is a light, moderate yellow-green. Relative luminance 0.397; OKLCH L 72.9% C 0.089 H 123.6°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#9CB172
RGBrgb(156, 177, 114)
HSLhsl(80, 29%, 57%)
HSVhsv(80, 36%, 69%)
CMYKcmyk(11.9%, 0%, 35.6%, 30.6%)
CIE-LABlab(69.27, -18.03, 29.89)
CIE-LCHlch(69.27, 34.91, 121.10°)
OKLaboklab(72.88% -0.0491 0.074)
OKLCHoklch(72.88% 0.089 123.6)
XYZxyz(32.4695, 39.7270, 21.8738)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB172 #8772B1
analogous
#B1A772 #9CB172 #7DB172
triadic
#9CB172 #729CB1 #B1729C
tetradic
#9CB172 #72B1A7 #8772B1 #B1727D
square
#9CB172 #72B1A7 #8772B1 #B1727D
split-complementary
#9CB172 #727DB1 #A772B1
monochromatic
#5C6D3C #7E9452 #9CB172 #B8C799 #D3DDC1

Accessibility & contrast

On white

2.35
#9CB172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#9CB172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB172
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB172#FFFFFF#000000##000000
##9CB1721.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9cb172;
/* rgb */ color: rgb(156, 177, 114);
/* oklch */ color: oklch(72.9% 0.089 123.6);
Tailwind
colors: {
  custom: {
    50: '#bac89b',
    500: '#9cb172',
    950: '#000000',
  },
}
SCSS
$custom: #9cb172;
$custom-light: #bac89b;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb172",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 114
  },
  "hsl": {
    "h": 80,
    "s": 28.767,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72877,
    "c": 0.08882,
    "h": 123.6
  },
  "luminance": 0.39727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9CB172

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

Preview Lab → · Contrast checker → · Palette generator →

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