#9C8D5B#9C8D5B

#9C8D5B is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.5% C 0.070 H 93.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C8D5B
RGBrgb(156, 141, 91)
HSLhsl(46, 26%, 48%)
HSVhsv(46, 42%, 61%)
CMYKcmyk(0%, 9.6%, 41.7%, 38.8%)
CIE-LABlab(58.86, -1.77, 28.70)
CIE-LCHlch(58.86, 28.76, 93.53°)
OKLaboklab(64.48% -0.0041 0.0703)
OKLCHoklch(64.48% 0.07 93.3)
XYZxyz(25.1241, 26.8739, 13.7593)
Luminance0.2687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D5B #5B6A9C
analogous
#9C6C5B #9C8D5B #8A9C5B
triadic
#9C8D5B #5B9C8D #8D5B9C
tetradic
#9C8D5B #5B9C6C #5B6A9C #9C5B8A
square
#9C8D5B #5B9C6C #5B6A9C #9C5B8A
split-complementary
#9C8D5B #5B8A9C #6C5B9C
monochromatic
#4F472E #756A44 #9C8D5B #B5A880 #CBC3A6

Accessibility & contrast

On white

3.29
#9C8D5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#9C8D5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D5B
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D5B#FFFFFF#000000##000000
##9C8D5B1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B57
Deuteranopia (green-blind)
#9B905D
Tritanopia (blue-blind)
#A58680
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8d5b;
/* rgb */ color: rgb(156, 141, 91);
/* oklch */ color: oklch(64.5% 0.070 93.3);
Tailwind
colors: {
  custom: {
    50: '#baae8a',
    500: '#9c8d5b',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d5b;
$custom-light: #baae8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d5b",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 91
  },
  "hsl": {
    "h": 46.154,
    "s": 26.316,
    "l": 48.431
  },
  "oklch": {
    "l": 0.64475,
    "c": 0.07044,
    "h": 93.3
  },
  "luminance": 0.26873
}

Semantic roles & 50–950 ramp

primary
#9C8D5B
secondary
#9AA1B9
accent
#7BC365
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D

Preview Lab

Preview with #9C8D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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