#9C8D32#9C8D32

#9C8D32 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.111 H 99.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9C8D32
RGBrgb(156, 141, 50)
HSLhsl(52, 51%, 40%)
HSVhsv(52, 68%, 61%)
CMYKcmyk(0%, 9.6%, 67.9%, 38.8%)
CIE-LABlab(58.37, -5.35, 48.68)
CIE-LCHlch(58.37, 48.97, 96.27°)
OKLaboklab(63.93% -0.019 0.1097)
OKLCHoklch(63.93% 0.111 99.8)
XYZxyz(23.8119, 26.3490, 6.8486)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D32 #32419C
analogous
#9C5832 #9C8D32 #769C32
triadic
#9C8D32 #329C8D #8D329C
tetradic
#9C8D32 #329C58 #32419C #9C3276
square
#9C8D32 #329C58 #32419C #9C3276
split-complementary
#9C8D32 #32769C #58329C
monochromatic
#3F3914 #6E6323 #9C8D32 #C4B247 #D3C675

Accessibility & contrast

On white

3.35
#9C8D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#9C8D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D32
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D32#FFFFFF#000000##000000
##9C8D321.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8926
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d32;
/* rgb */ color: rgb(156, 141, 50);
/* oklch */ color: oklch(63.9% 0.111 99.8);
Tailwind
colors: {
  custom: {
    50: '#bcae6f',
    500: '#9c8d32',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d32;
$custom-light: #bcae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d32",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 51.509,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63928,
    "c": 0.11133,
    "h": 99.8
  },
  "luminance": 0.26348
}

Semantic roles & 50–950 ramp

primary
#9C8D32
secondary
#6F79BB
accent
#61DB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8D32

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

Preview Lab → · Contrast checker → · Palette generator →

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