#9C8A3A#9C8A3A

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

Color values

HEX#9C8A3A
RGBrgb(156, 138, 58)
HSLhsl(49, 46%, 42%)
HSVhsv(49, 63%, 61%)
CMYKcmyk(0%, 11.5%, 62.8%, 38.8%)
CIE-LABlab(57.61, -3.18, 44.23)
CIE-LCHlch(57.61, 44.34, 94.11°)
OKLaboklab(63.35% -0.0118 0.1015)
OKLCHoklch(63.35% 0.102 96.7)
XYZxyz(23.5635, 25.5515, 7.6929)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A3A #3A4C9C
analogous
#9C593A #9C8A3A #7D9C3A
triadic
#9C8A3A #3A9C8A #8A3A9C
tetradic
#9C8A3A #3A9C59 #3A4C9C #9C3A7D
square
#9C8A3A #3A9C59 #3A4C9C #9C3A7D
split-complementary
#9C8A3A #3A7D9C #593A9C
monochromatic
#433B19 #6F6329 #9C8A3A #BFAC54 #D0C180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8A3A#FFFFFF#000000##000000
##9C8A3A1.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)
#978731
Deuteranopia (green-blind)
#9C8D3E
Tritanopia (blue-blind)
#A88079
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a3a;
/* rgb */ color: rgb(156, 138, 58);
/* oklch */ color: oklch(63.3% 0.102 96.7);
Tailwind
colors: {
  custom: {
    50: '#bcab73',
    500: '#9c8a3a',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a3a;
$custom-light: #bcab73;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a3a",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 58
  },
  "hsl": {
    "h": 48.98,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6335,
    "c": 0.1022,
    "h": 96.7
  },
  "luminance": 0.2555
}

Semantic roles & 50–950 ramp

primary
#9C8A3A
secondary
#7884BA
accent
#6AD552
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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