#9C8B4B#9C8B4B

#9C8B4B is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.8% C 0.087 H 94.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9C8B4B
RGBrgb(156, 139, 75)
HSLhsl(47, 35%, 45%)
HSVhsv(47, 52%, 61%)
CMYKcmyk(0%, 10.9%, 51.9%, 38.8%)
CIE-LABlab(58.08, -2.33, 36.28)
CIE-LCHlch(58.08, 36.35, 93.68°)
OKLaboklab(63.78% -0.0073 0.0863)
OKLCHoklch(63.78% 0.087 94.9)
XYZxyz(24.2137, 26.0422, 10.4064)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B4B #4B5C9C
analogous
#9C624B #9C8B4B #859C4B
triadic
#9C8B4B #4B9C8B #8B4B9C
tetradic
#9C8B4B #4B9C62 #4B5C9C #9C4B85
square
#9C8B4B #4B9C62 #4B5C9C #9C4B85
split-complementary
#9C8B4B #4B859C #624B9C
monochromatic
#494123 #736637 #9C8B4B #B8A86C #CCC195

Accessibility & contrast

On white

3.38
#9C8B4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#9C8B4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B4B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B4B#FFFFFF#000000##000000
##9C8B4B1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978845
Deuteranopia (green-blind)
#9B8E4E
Tritanopia (blue-blind)
#A7827C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8b4b;
/* rgb */ color: rgb(156, 139, 75);
/* oklch */ color: oklch(63.8% 0.087 94.9);
Tailwind
colors: {
  custom: {
    50: '#bbac7f',
    500: '#9c8b4b',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b4b;
$custom-light: #bbac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b4b",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 75
  },
  "hsl": {
    "h": 47.407,
    "s": 35.065,
    "l": 45.294
  },
  "oklch": {
    "l": 0.63783,
    "c": 0.08658,
    "h": 94.9
  },
  "luminance": 0.26041
}

Semantic roles & 50–950 ramp

primary
#9C8B4B
secondary
#8A94B8
accent
#74CB5D
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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