#9C8A32#9C8A32

#9C8A32 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.109 H 97.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9C8A32
RGBrgb(156, 138, 50)
HSLhsl(50, 51%, 40%)
HSVhsv(50, 68%, 61%)
CMYKcmyk(0%, 11.5%, 67.9%, 38.8%)
CIE-LABlab(57.54, -3.70, 47.82)
CIE-LCHlch(57.54, 47.96, 94.43°)
OKLaboklab(63.27% -0.0143 0.1079)
OKLCHoklch(63.27% 0.109 97.6)
XYZxyz(23.3756, 25.4763, 6.7031)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A32 #32449C
analogous
#9C5532 #9C8A32 #799C32
triadic
#9C8A32 #329C8A #8A329C
tetradic
#9C8A32 #329C55 #32449C #9C3279
square
#9C8A32 #329C55 #32449C #9C3279
split-complementary
#9C8A32 #32799C #55329C
monochromatic
#3F3814 #6E6123 #9C8A32 #C4AF47 #D3C375

Accessibility & contrast

On white

3.45
#9C8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#9C8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A32
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A32#FFFFFF#000000##000000
##9C8A321.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978727
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a32;
/* rgb */ color: rgb(156, 138, 50);
/* oklch */ color: oklch(63.3% 0.109 97.6);
Tailwind
colors: {
  custom: {
    50: '#bcab6f',
    500: '#9c8a32',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a32;
$custom-light: #bcab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a32",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 49.811,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6327,
    "c": 0.10881,
    "h": 97.6
  },
  "luminance": 0.25475
}

Semantic roles & 50–950 ramp

primary
#9C8A32
secondary
#6F7CBB
accent
#65DB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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