#8B7328#8B7328

#8B7328 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.4% C 0.097 H 90.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8B7328
RGBrgb(139, 115, 40)
HSLhsl(45, 55%, 35%)
HSVhsv(45, 71%, 55%)
CMYKcmyk(0%, 17.3%, 71.2%, 45.5%)
CIE-LABlab(49.38, 0.79, 43.27)
CIE-LCHlch(49.38, 43.28, 88.95°)
OKLaboklab(56.4% -0.0016 0.0971)
OKLCHoklch(56.4% 0.097 90.9)
XYZxyz(17.1621, 17.9046, 4.5591)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7328 #28408B
analogous
#8B4228 #8B7328 #718B28
triadic
#8B7328 #288B73 #73288B
tetradic
#8B7328 #288B42 #28408B #8B2871
square
#8B7328 #288B42 #28408B #8B2871
split-complementary
#8B7328 #28718B #42288B
monochromatic
#2C240D #5B4C1A #8B7328 #BB9A36 #D0B45D

Accessibility & contrast

On white

4.58
#8B7328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8B7328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7328
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7328#FFFFFF#000000##000000
##8B73281.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80711E
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#966964
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b7328;
/* rgb */ color: rgb(139, 115, 40);
/* oklch */ color: oklch(56.4% 0.097 90.9);
Tailwind
colors: {
  custom: {
    50: '#b09b66',
    500: '#8b7328',
    950: '#000000',
  },
}
SCSS
$custom: #8b7328;
$custom-light: #b09b66;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7328",
  "rgb": {
    "r": 139,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 45.455,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56397,
    "c": 0.09708,
    "h": 90.9
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#8B7328
secondary
#5970B6
accent
#6DDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8B7328

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

Preview Lab → · Contrast checker → · Palette generator →

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