#9C8720#9C8720

#9C8720 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.118 H 96.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9C8720
RGBrgb(156, 135, 32)
HSLhsl(50, 66%, 37%)
HSVhsv(50, 79%, 61%)
CMYKcmyk(0%, 13.5%, 79.5%, 38.8%)
CIE-LABlab(56.59, -2.95, 53.99)
CIE-LCHlch(56.59, 54.07, 93.12°)
OKLaboklab(62.48% -0.0142 0.1175)
OKLCHoklch(62.48% 0.118 96.9)
XYZxyz(22.6362, 24.5014, 4.9032)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8720 #20359C
analogous
#9C4920 #9C8720 #739C20
triadic
#9C8720 #209C87 #87209C
tetradic
#9C8720 #209C49 #20359C #9C2073
square
#9C8720 #209C49 #20359C #9C2073
split-complementary
#9C8720 #20739C #49209C
monochromatic
#362F0B #695B16 #9C8720 #CFB32A #DDC759

Accessibility & contrast

On white

3.56
#9C8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9C8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8720
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8720#FFFFFF#000000##000000
##9C87201.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958407
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#A97C74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9c8720;
/* rgb */ color: rgb(156, 135, 32);
/* oklch */ color: oklch(62.5% 0.118 96.9);
Tailwind
colors: {
  custom: {
    50: '#bda965',
    500: '#9c8720',
    950: '#000000',
  },
}
SCSS
$custom: #9c8720;
$custom-light: #bda965;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8720",
  "rgb": {
    "r": 156,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 49.839,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62478,
    "c": 0.11834,
    "h": 96.9
  },
  "luminance": 0.245
}

Semantic roles & 50–950 ramp

primary
#9C8720
secondary
#5769C1
accent
#5CE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8720

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

Preview Lab → · Contrast checker → · Palette generator →

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