#9C8B3A#9C8B3A

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

Color values

HEX#9C8B3A
RGBrgb(156, 139, 58)
HSLhsl(50, 46%, 42%)
HSVhsv(50, 63%, 61%)
CMYKcmyk(0%, 10.9%, 62.8%, 38.8%)
CIE-LABlab(57.88, -3.73, 44.53)
CIE-LCHlch(57.88, 44.69, 94.78°)
OKLaboklab(63.57% -0.0134 0.1022)
OKLCHoklch(63.57% 0.103 97.5)
XYZxyz(23.7076, 25.8397, 7.7410)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B3A #3A4B9C
analogous
#9C5A3A #9C8B3A #7C9C3A
triadic
#9C8B3A #3A9C8B #8B3A9C
tetradic
#9C8B3A #3A9C5A #3A4B9C #9C3A7C
square
#9C8B3A #3A9C5A #3A4B9C #9C3A7C
split-complementary
#9C8B3A #3A7C9C #5A3A9C
monochromatic
#433B19 #6F6329 #9C8B3A #BFAD54 #D0C280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8B3A#FFFFFF#000000##000000
##9C8B3A1.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)
#988831
Deuteranopia (green-blind)
#9C8E3E
Tritanopia (blue-blind)
#A8817A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b3a;
/* rgb */ color: rgb(156, 139, 58);
/* oklch */ color: oklch(63.6% 0.103 97.5);
Tailwind
colors: {
  custom: {
    50: '#bcac74',
    500: '#9c8b3a',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b3a;
$custom-light: #bcac74;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b3a",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 58
  },
  "hsl": {
    "h": 49.592,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63568,
    "c": 0.10304,
    "h": 97.5
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#9C8B3A
secondary
#7884BA
accent
#69D552
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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