#8B8319#8B8319

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

Color values

HEX#8B8319
RGBrgb(139, 131, 25)
HSLhsl(56, 70%, 32%)
HSVhsv(56, 82%, 55%)
CMYKcmyk(0%, 5.8%, 82%, 45.5%)
CIE-LABlab(53.81, -8.84, 53.17)
CIE-LCHlch(53.81, 53.90, 99.44°)
OKLaboklab(59.88% -0.0305 0.1151)
OKLCHoklch(59.88% 0.119 104.9)
XYZxyz(18.9401, 21.7925, 4.1282)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8319 #19218B
analogous
#8B4A19 #8B8319 #5A8B19
triadic
#8B8319 #198B83 #83198B
tetradic
#8B8319 #198B4A #19218B #8B195A
square
#8B8319 #198B4A #19218B #8B195A
split-complementary
#8B8319 #195A8B #4A198B
monochromatic
#232106 #575210 #8B8319 #BFB422 #DDD241

Accessibility & contrast

On white

3.92
#8B8319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8B8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8319
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8319#FFFFFF#000000##000000
##8B83191.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#928322
Tritanopia (blue-blind)
#967970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b8319;
/* rgb */ color: rgb(139, 131, 25);
/* oklch */ color: oklch(59.9% 0.119 104.9);
Tailwind
colors: {
  custom: {
    50: '#b1a661',
    500: '#8b8319',
    950: '#000000',
  },
}
SCSS
$custom: #8b8319;
$custom-light: #b1a661;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8319",
  "rgb": {
    "r": 139,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 55.789,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.11907,
    "h": 104.9
  },
  "luminance": 0.21792
}

Semantic roles & 50–950 ramp

primary
#8B8319
secondary
#424BBE
accent
#48EC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B8319

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

Preview Lab → · Contrast checker → · Palette generator →

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