#9B8720#9B8720

#9B8720 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.118 H 97.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9B8720
RGBrgb(155, 135, 32)
HSLhsl(50, 66%, 37%)
HSVhsv(50, 79%, 61%)
CMYKcmyk(0%, 12.9%, 79.4%, 39.2%)
CIE-LABlab(56.49, -3.40, 53.87)
CIE-LCHlch(56.49, 53.98, 93.62°)
OKLaboklab(62.38% -0.0154 0.1173)
OKLCHoklch(62.38% 0.118 97.5)
XYZxyz(22.4434, 24.4020, 4.8941)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8720 #20349B
analogous
#9B4A20 #9B8720 #729B20
triadic
#9B8720 #209B87 #87209B
tetradic
#9B8720 #209B4A #20349B #9B2072
square
#9B8720 #209B4A #20349B #9B2072
split-complementary
#9B8720 #20729B #4A209B
monochromatic
#362F0B #685B16 #9B8720 #CEB32A #DDC759

Accessibility & contrast

On white

3.57
#9B8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#9B8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8720
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8720#FFFFFF#000000##000000
##9B87201.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958407
Deuteranopia (green-blind)
#9B8A27
Tritanopia (blue-blind)
#A87C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b8720;
/* rgb */ color: rgb(155, 135, 32);
/* oklch */ color: oklch(62.4% 0.118 97.5);
Tailwind
colors: {
  custom: {
    50: '#bca965',
    500: '#9b8720',
    950: '#000000',
  },
}
SCSS
$custom: #9b8720;
$custom-light: #bca965;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8720",
  "rgb": {
    "r": 155,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 50.244,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62377,
    "c": 0.11828,
    "h": 97.5
  },
  "luminance": 0.24401
}

Semantic roles & 50–950 ramp

primary
#9B8720
secondary
#5667C1
accent
#5BE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9B8720

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

Preview Lab → · Contrast checker → · Palette generator →

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