#9C8D4C#9C8D4C

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

Color values

HEX#9C8D4C
RGBrgb(156, 141, 76)
HSLhsl(49, 34%, 45%)
HSVhsv(49, 51%, 61%)
CMYKcmyk(0%, 9.6%, 51.3%, 38.8%)
CIE-LABlab(58.64, -3.34, 36.44)
CIE-LCHlch(58.64, 36.59, 95.24°)
OKLaboklab(64.23% -0.0101 0.0867)
OKLCHoklch(64.23% 0.087 96.7)
XYZxyz(24.5405, 26.6404, 10.6855)
Luminance0.2664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D4C #4C5B9C
analogous
#9C654C #9C8D4C #839C4C
triadic
#9C8D4C #4C9C8D #8D4C9C
tetradic
#9C8D4C #4C9C65 #4C5B9C #9C4C83
square
#9C8D4C #4C9C65 #4C5B9C #9C4C83
split-complementary
#9C8D4C #4C839C #654C9C
monochromatic
#4A4324 #736838 #9C8D4C #B8AA6D #CCC296

Accessibility & contrast

On white

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

On black

6.33
#9C8D4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D4C
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D4C#FFFFFF#000000##000000
##9C8D4C1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A46
Deuteranopia (green-blind)
#9D8F4F
Tritanopia (blue-blind)
#A7847E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d4c;
/* rgb */ color: rgb(156, 141, 76);
/* oklch */ color: oklch(64.2% 0.087 96.7);
Tailwind
colors: {
  custom: {
    50: '#bbae7f',
    500: '#9c8d4c',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d4c;
$custom-light: #bbae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d4c",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 76
  },
  "hsl": {
    "h": 48.75,
    "s": 34.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64232,
    "c": 0.0873,
    "h": 96.7
  },
  "luminance": 0.26639
}

Semantic roles & 50–950 ramp

primary
#9C8D4C
secondary
#8B94B8
accent
#72CB5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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