#9C8820#9C8820

#9C8820 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.119 H 97.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9C8820
RGBrgb(156, 136, 32)
HSLhsl(50, 66%, 37%)
HSVhsv(50, 79%, 61%)
CMYKcmyk(0%, 12.8%, 79.5%, 38.8%)
CIE-LABlab(56.86, -3.50, 54.24)
CIE-LCHlch(56.86, 54.36, 93.69°)
OKLaboklab(62.7% -0.0157 0.118)
OKLCHoklch(62.7% 0.119 97.6)
XYZxyz(22.7764, 24.7817, 4.9499)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8820 #20349C
analogous
#9C4A20 #9C8820 #729C20
triadic
#9C8820 #209C88 #88209C
tetradic
#9C8820 #209C4A #20349C #9C2072
square
#9C8820 #209C4A #20349C #9C2072
split-complementary
#9C8820 #20729C #4A209C
monochromatic
#362F0B #695C16 #9C8820 #CFB42A #DDC859

Accessibility & contrast

On white

3.53
#9C8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9C8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8820
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8820#FFFFFF#000000##000000
##9C88201.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968507
Deuteranopia (green-blind)
#9C8B27
Tritanopia (blue-blind)
#A97D74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9c8820;
/* rgb */ color: rgb(156, 136, 32);
/* oklch */ color: oklch(62.7% 0.119 97.6);
Tailwind
colors: {
  custom: {
    50: '#bdaa65',
    500: '#9c8820',
    950: '#000000',
  },
}
SCSS
$custom: #9c8820;
$custom-light: #bdaa65;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8820",
  "rgb": {
    "r": 156,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 50.323,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62697,
    "c": 0.11906,
    "h": 97.6
  },
  "luminance": 0.24781
}

Semantic roles & 50–950 ramp

primary
#9C8820
secondary
#5768C1
accent
#5AE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8820

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

Preview Lab → · Contrast checker → · Palette generator →

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