#8B8323#8B8323

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

Color values

HEX#8B8323
RGBrgb(139, 131, 35)
HSLhsl(55, 60%, 34%)
HSVhsv(55, 75%, 55%)
CMYKcmyk(0%, 5.8%, 74.8%, 45.5%)
CIE-LABlab(53.86, -8.42, 49.79)
CIE-LCHlch(53.86, 50.50, 99.60°)
OKLaboklab(59.94% -0.0284 0.1099)
OKLCHoklch(59.94% 0.114 104.5)
XYZxyz(19.0679, 21.8437, 4.8016)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8323 #232B8B
analogous
#8B4F23 #8B8323 #5F8B23
triadic
#8B8323 #238B83 #83238B
tetradic
#8B8323 #238B4F #232B8B #8B235F
square
#8B8323 #238B4F #232B8B #8B235F
split-complementary
#8B8323 #235F8B #4F238B
monochromatic
#29270A #5A5517 #8B8323 #BCB12F #D4CA54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8323#FFFFFF#000000##000000
##8B83231.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)
#8F7E11
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#967A70
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b8323;
/* rgb */ color: rgb(139, 131, 35);
/* oklch */ color: oklch(59.9% 0.114 104.5);
Tailwind
colors: {
  custom: {
    50: '#b0a665',
    500: '#8b8323',
    950: '#000000',
  },
}
SCSS
$custom: #8b8323;
$custom-light: #b0a665;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8323",
  "rgb": {
    "r": 139,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 55.385,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59936,
    "c": 0.1135,
    "h": 104.5
  },
  "luminance": 0.21843
}

Semantic roles & 50–950 ramp

primary
#8B8323
secondary
#525AB8
accent
#51E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8323

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

Preview Lab → · Contrast checker → · Palette generator →

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