#9C8D4A#9C8D4A

#9C8D4A is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.089 H 97.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9C8D4A
RGBrgb(156, 141, 74)
HSLhsl(49, 36%, 45%)
HSVhsv(49, 53%, 61%)
CMYKcmyk(0%, 9.6%, 52.6%, 38.8%)
CIE-LABlab(58.61, -3.53, 37.44)
CIE-LCHlch(58.61, 37.61, 95.38°)
OKLaboklab(64.2% -0.0109 0.0887)
OKLCHoklch(64.2% 0.089 97)
XYZxyz(24.4720, 26.6131, 10.3250)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D4A #4A599C
analogous
#9C644A #9C8D4A #829C4A
triadic
#9C8D4A #4A9C8D #8D4A9C
tetradic
#9C8D4A #4A9C64 #4A599C #9C4A82
square
#9C8D4A #4A9C64 #4A599C #9C4A82
split-complementary
#9C8D4A #4A829C #644A9C
monochromatic
#494223 #726736 #9C8D4A #B9AA6B #CCC294

Accessibility & contrast

On white

3.32
#9C8D4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#9C8D4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D4A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D4A#FFFFFF#000000##000000
##9C8D4A1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A44
Deuteranopia (green-blind)
#9D8F4D
Tritanopia (blue-blind)
#A7847D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d4a;
/* rgb */ color: rgb(156, 141, 74);
/* oklch */ color: oklch(64.2% 0.089 97.0);
Tailwind
colors: {
  custom: {
    50: '#bbae7e',
    500: '#9c8d4a',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d4a;
$custom-light: #bbae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d4a",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 74
  },
  "hsl": {
    "h": 49.024,
    "s": 35.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64204,
    "c": 0.08941,
    "h": 97
  },
  "luminance": 0.26612
}

Semantic roles & 50–950 ramp

primary
#9C8D4A
secondary
#8992B8
accent
#71CC5C
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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