#9C8420#9C8420

#9C8420 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.116 H 94.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9C8420
RGBrgb(156, 132, 32)
HSLhsl(48, 66%, 37%)
HSVhsv(48, 79%, 61%)
CMYKcmyk(0%, 15.4%, 79.5%, 38.8%)
CIE-LABlab(55.76, -1.29, 53.24)
CIE-LCHlch(55.76, 53.26, 91.39°)
OKLaboklab(61.83% -0.0095 0.1159)
OKLCHoklch(61.83% 0.116 94.7)
XYZxyz(22.2235, 23.6760, 4.7656)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8420 #20389C
analogous
#9C4620 #9C8420 #769C20
triadic
#9C8420 #209C84 #84209C
tetradic
#9C8420 #209C46 #20389C #9C2076
square
#9C8420 #209C46 #20389C #9C2076
split-complementary
#9C8420 #20769C #46209C
monochromatic
#362E0B #695916 #9C8420 #CFAF2A #DDC459

Accessibility & contrast

On white

3.66
#9C8420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9C8420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8420
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8420#FFFFFF#000000##000000
##9C84201.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938109
Deuteranopia (green-blind)
#998927
Tritanopia (blue-blind)
#A97971
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c8420;
/* rgb */ color: rgb(156, 132, 32);
/* oklch */ color: oklch(61.8% 0.116 94.7);
Tailwind
colors: {
  custom: {
    50: '#bda764',
    500: '#9c8420',
    950: '#000000',
  },
}
SCSS
$custom: #9c8420;
$custom-light: #bda764;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8420",
  "rgb": {
    "r": 156,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 48.387,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61826,
    "c": 0.11627,
    "h": 94.7
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#9C8420
secondary
#576BC1
accent
#60E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8420

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

Preview Lab → · Contrast checker → · Palette generator →

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