#8B8320#8B8320

#8B8320 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.115 H 104.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8B8320
RGBrgb(139, 131, 32)
HSLhsl(56, 63%, 34%)
HSVhsv(56, 77%, 55%)
CMYKcmyk(0%, 5.8%, 77%, 45.5%)
CIE-LABlab(53.84, -8.56, 50.88)
CIE-LCHlch(53.84, 51.59, 99.55°)
OKLaboklab(59.92% -0.0291 0.1116)
OKLCHoklch(59.92% 0.115 104.6)
XYZxyz(19.0253, 21.8266, 4.5770)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8320 #20288B
analogous
#8B4D20 #8B8320 #5D8B20
triadic
#8B8320 #208B83 #83208B
tetradic
#8B8320 #208B4D #20288B #8B205D
square
#8B8320 #208B4D #20288B #8B205D
split-complementary
#8B8320 #205D8B #4D208B
monochromatic
#282509 #595415 #8B8320 #BDB22B #D6CC4F

Accessibility & contrast

On white

3.91
#8B8320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8B8320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8320
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8320#FFFFFF#000000##000000
##8B83201.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#967A70
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b8320;
/* rgb */ color: rgb(139, 131, 32);
/* oklch */ color: oklch(59.9% 0.115 104.6);
Tailwind
colors: {
  custom: {
    50: '#b0a664',
    500: '#8b8320',
    950: '#000000',
  },
}
SCSS
$custom: #8b8320;
$custom-light: #b0a664;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8320",
  "rgb": {
    "r": 139,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 55.514,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.11533,
    "h": 104.6
  },
  "luminance": 0.21826
}

Semantic roles & 50–950 ramp

primary
#8B8320
secondary
#4D55BA
accent
#4EE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8320

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

Preview Lab → · Contrast checker → · Palette generator →

#8B8320 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva