#9C8A3B#9C8A3B

#9C8A3B is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.101 H 96.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9C8A3B
RGBrgb(156, 138, 59)
HSLhsl(49, 45%, 42%)
HSVhsv(49, 62%, 61%)
CMYKcmyk(0%, 11.5%, 62.2%, 38.8%)
CIE-LABlab(57.62, -3.11, 43.77)
CIE-LCHlch(57.62, 43.88, 94.06°)
OKLaboklab(63.36% -0.0115 0.1007)
OKLCHoklch(63.36% 0.101 96.5)
XYZxyz(23.5892, 25.5617, 7.8282)
Luminance0.2556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A3B #3B4D9C
analogous
#9C5A3B #9C8A3B #7E9C3B
triadic
#9C8A3B #3B9C8A #8A3B9C
tetradic
#9C8A3B #3B9C5A #3B4D9C #9C3B7E
square
#9C8A3B #3B9C5A #3B4D9C #9C3B7E
split-complementary
#9C8A3B #3B7E9C #5A3B9C
monochromatic
#433B19 #70632A #9C8A3B #BFAB55 #D0C182

Accessibility & contrast

On white

3.44
#9C8A3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#9C8A3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A3B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A3B#FFFFFF#000000##000000
##9C8A3B1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978732
Deuteranopia (green-blind)
#9C8D3F
Tritanopia (blue-blind)
#A88079
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a3b;
/* rgb */ color: rgb(156, 138, 59);
/* oklch */ color: oklch(63.4% 0.101 96.5);
Tailwind
colors: {
  custom: {
    50: '#bcab74',
    500: '#9c8a3b',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a3b;
$custom-light: #bcab74;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a3b",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 59
  },
  "hsl": {
    "h": 48.866,
    "s": 45.116,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63361,
    "c": 0.10133,
    "h": 96.5
  },
  "luminance": 0.25561
}

Semantic roles & 50–950 ramp

primary
#9C8A3B
secondary
#7985B9
accent
#6BD553
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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