#8B7939#8B7939

#8B7939 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.087 H 93.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8B7939
RGBrgb(139, 121, 57)
HSLhsl(47, 42%, 38%)
HSVhsv(47, 59%, 55%)
CMYKcmyk(0%, 12.9%, 59%, 45.5%)
CIE-LABlab(51.22, -1.43, 37.07)
CIE-LCHlch(51.22, 37.10, 92.21°)
OKLaboklab(57.9% -0.0058 0.0865)
OKLCHoklch(57.9% 0.087 93.8)
XYZxyz(18.2241, 19.4600, 6.6663)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7939 #394B8B
analogous
#8B5039 #8B7939 #748B39
triadic
#8B7939 #398B79 #79398B
tetradic
#8B7939 #398B50 #394B8B #8B3974
square
#8B7939 #398B50 #394B8B #8B3974
split-complementary
#8B7939 #39748B #50398B
monochromatic
#342D15 #605327 #8B7939 #B59E4C #C7B677

Accessibility & contrast

On white

4.29
#8B7939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8B7939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7939
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7939#FFFFFF#000000##000000
##8B79391.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847733
Deuteranopia (green-blind)
#897C3C
Tritanopia (blue-blind)
#95716B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b7939;
/* rgb */ color: rgb(139, 121, 57);
/* oklch */ color: oklch(57.9% 0.087 93.8);
Tailwind
colors: {
  custom: {
    50: '#af9f71',
    500: '#8b7939',
    950: '#000000',
  },
}
SCSS
$custom: #8b7939;
$custom-light: #af9f71;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7939",
  "rgb": {
    "r": 139,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 46.829,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57905,
    "c": 0.08665,
    "h": 93.8
  },
  "luminance": 0.19459
}

Semantic roles & 50–950 ramp

primary
#8B7939
secondary
#6F7EB0
accent
#71D256
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8B7939

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

Preview Lab → · Contrast checker → · Palette generator →

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