#9CB178#9CB178

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

Color values

HEX#9CB178
RGBrgb(156, 177, 120)
HSLhsl(82, 27%, 58%)
HSVhsv(82, 32%, 69%)
CMYKcmyk(11.9%, 0%, 32.2%, 30.6%)
CIE-LABlab(69.38, -17.21, 26.84)
CIE-LCHlch(69.38, 31.88, 122.67°)
OKLaboklab(72.99% -0.0466 0.067)
OKLCHoklch(72.99% 0.082 124.8)
XYZxyz(32.8223, 39.8681, 23.7318)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB178 #8D78B1
analogous
#B1A978 #9CB178 #7FB178
triadic
#9CB178 #789CB1 #B1789C
tetradic
#9CB178 #78B1A9 #8D78B1 #B1787F
square
#9CB178 #78B1A9 #8D78B1 #B1787F
split-complementary
#9CB178 #787FB1 #A978B1
monochromatic
#5D6F40 #7E9556 #9CB178 #B8C79F #D5DEC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB178#FFFFFF#000000##000000
##9CB1781.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)
#B7AA74
Deuteranopia (green-blind)
#B4A97B
Tritanopia (blue-blind)
#A0ACA2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb178;
/* rgb */ color: rgb(156, 177, 120);
/* oklch */ color: oklch(73.0% 0.082 124.8);
Tailwind
colors: {
  custom: {
    50: '#bac89f',
    500: '#9cb178',
    950: '#000000',
  },
}
SCSS
$custom: #9cb178;
$custom-light: #bac89f;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb178",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 120
  },
  "hsl": {
    "h": 82.105,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.72991,
    "c": 0.08159,
    "h": 124.8
  },
  "luminance": 0.39868
}

Semantic roles & 50–950 ramp

primary
#9CB178
secondary
#BFB7CE
accent
#65C387
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #9CB178

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

Preview Lab → · Contrast checker → · Palette generator →

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