#9C8320#9C8320

#9C8320 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.116 H 93.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9C8320
RGBrgb(156, 131, 32)
HSLhsl(48, 66%, 37%)
HSVhsv(48, 79%, 61%)
CMYKcmyk(0%, 16%, 79.5%, 38.8%)
CIE-LABlab(55.49, -0.73, 53.00)
CIE-LCHlch(55.49, 53.00, 90.79°)
OKLaboklab(61.61% -0.0079 0.1153)
OKLCHoklch(61.61% 0.116 93.9)
XYZxyz(22.0886, 23.4061, 4.7206)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8320 #20399C
analogous
#9C4520 #9C8320 #779C20
triadic
#9C8320 #209C83 #83209C
tetradic
#9C8320 #209C45 #20399C #9C2077
square
#9C8320 #209C45 #20399C #9C2077
split-complementary
#9C8320 #20779C #45209C
monochromatic
#362E0B #695816 #9C8320 #CFAE2A #DDC259

Accessibility & contrast

On white

3.70
#9C8320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#9C8320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8320
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8320#FFFFFF#000000##000000
##9C83201.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810A
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A97870
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c8320;
/* rgb */ color: rgb(156, 131, 32);
/* oklch */ color: oklch(61.6% 0.116 93.9);
Tailwind
colors: {
  custom: {
    50: '#bda664',
    500: '#9c8320',
    950: '#000000',
  },
}
SCSS
$custom: #9c8320;
$custom-light: #bda664;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8320",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 47.903,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.11561,
    "h": 93.9
  },
  "luminance": 0.23405
}

Semantic roles & 50–950 ramp

primary
#9C8320
secondary
#576CC1
accent
#61E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8320

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

Preview Lab → · Contrast checker → · Palette generator →

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