#9C8B32#9C8B32

#9C8B32 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.110 H 98.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9C8B32
RGBrgb(156, 139, 50)
HSLhsl(50, 51%, 40%)
HSVhsv(50, 68%, 61%)
CMYKcmyk(0%, 10.9%, 67.9%, 38.8%)
CIE-LABlab(57.81, -4.25, 48.10)
CIE-LCHlch(57.81, 48.29, 95.05°)
OKLaboklab(63.49% -0.0159 0.1085)
OKLCHoklch(63.49% 0.11 98.3)
XYZxyz(23.5197, 25.7646, 6.7512)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B32 #32439C
analogous
#9C5632 #9C8B32 #789C32
triadic
#9C8B32 #329C8B #8B329C
tetradic
#9C8B32 #329C56 #32439C #9C3278
square
#9C8B32 #329C56 #32439C #9C3278
split-complementary
#9C8B32 #32789C #56329C
monochromatic
#3F3814 #6E6223 #9C8B32 #C4B047 #D3C475

Accessibility & contrast

On white

3.41
#9C8B32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#9C8B32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B32
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B32#FFFFFF#000000##000000
##9C8B321.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988727
Deuteranopia (green-blind)
#9D8D37
Tritanopia (blue-blind)
#A88179
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b32;
/* rgb */ color: rgb(156, 139, 50);
/* oklch */ color: oklch(63.5% 0.110 98.3);
Tailwind
colors: {
  custom: {
    50: '#bcac6f',
    500: '#9c8b32',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b32;
$custom-light: #bcac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b32",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 50
  },
  "hsl": {
    "h": 50.377,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63489,
    "c": 0.10963,
    "h": 98.3
  },
  "luminance": 0.25763
}

Semantic roles & 50–950 ramp

primary
#9C8B32
secondary
#6F7BBB
accent
#64DB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8B32

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

Preview Lab → · Contrast checker → · Palette generator →

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