#9C8D4D#9C8D4D

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

Color values

HEX#9C8D4D
RGBrgb(156, 141, 77)
HSLhsl(49, 34%, 46%)
HSVhsv(49, 51%, 61%)
CMYKcmyk(0%, 9.6%, 50.6%, 38.8%)
CIE-LABlab(58.65, -3.25, 35.93)
CIE-LCHlch(58.65, 36.08, 95.16°)
OKLaboklab(64.25% -0.0097 0.0857)
OKLCHoklch(64.25% 0.086 96.5)
XYZxyz(24.5755, 26.6545, 10.8701)
Luminance0.2665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D4D #4D5C9C
analogous
#9C654D #9C8D4D #839C4D
triadic
#9C8D4D #4D9C8D #8D4D9C
tetradic
#9C8D4D #4D9C65 #4D5C9C #9C4D83
square
#9C8D4D #4D9C65 #4D5C9C #9C4D83
split-complementary
#9C8D4D #4D839C #654D9C
monochromatic
#4A4325 #736839 #9C8D4D #B8AA6F #CCC297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8D4D#FFFFFF#000000##000000
##9C8D4D1.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)
#988A48
Deuteranopia (green-blind)
#9C8F50
Tritanopia (blue-blind)
#A6857E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d4d;
/* rgb */ color: rgb(156, 141, 77);
/* oklch */ color: oklch(64.2% 0.086 96.5);
Tailwind
colors: {
  custom: {
    50: '#bbae80',
    500: '#9c8d4d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d4d;
$custom-light: #bbae80;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d4d",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 77
  },
  "hsl": {
    "h": 48.608,
    "s": 33.906,
    "l": 45.686
  },
  "oklch": {
    "l": 0.64247,
    "c": 0.08624,
    "h": 96.5
  },
  "luminance": 0.26653
}

Semantic roles & 50–950 ramp

primary
#9C8D4D
secondary
#8C95B8
accent
#72CA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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