#9C8B3C#9C8B3C

#9C8B3C is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.6% C 0.101 H 97.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9C8B3C
RGBrgb(156, 139, 60)
HSLhsl(49, 44%, 42%)
HSVhsv(49, 62%, 61%)
CMYKcmyk(0%, 10.9%, 61.5%, 38.8%)
CIE-LABlab(57.90, -3.58, 43.60)
CIE-LCHlch(57.90, 43.75, 94.70°)
OKLaboklab(63.59% -0.0128 0.1005)
OKLCHoklch(63.59% 0.101 97.2)
XYZxyz(23.7595, 25.8605, 8.0142)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B3C #3C4D9C
analogous
#9C5B3C #9C8B3C #7D9C3C
triadic
#9C8B3C #3C9C8B #8B3C9C
tetradic
#9C8B3C #3C9C5B #3C4D9C #9C3C7D
square
#9C8B3C #3C9C5B #3C4D9C #9C3C7D
split-complementary
#9C8B3C #3C7D9C #5B3C9C
monochromatic
#443C1A #70642B #9C8B3C #BEAC57 #CFC283

Accessibility & contrast

On white

3.40
#9C8B3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#9C8B3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B3C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B3C#FFFFFF#000000##000000
##9C8B3C1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988834
Deuteranopia (green-blind)
#9C8E40
Tritanopia (blue-blind)
#A8817A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b3c;
/* rgb */ color: rgb(156, 139, 60);
/* oklch */ color: oklch(63.6% 0.101 97.2);
Tailwind
colors: {
  custom: {
    50: '#bcac75',
    500: '#9c8b3c',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b3c;
$custom-light: #bcac75;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b3c",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 60
  },
  "hsl": {
    "h": 49.375,
    "s": 44.444,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63591,
    "c": 0.10127,
    "h": 97.2
  },
  "luminance": 0.25859
}

Semantic roles & 50–950 ramp

primary
#9C8B3C
secondary
#7A86B9
accent
#6AD454
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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