#8B7937#8B7937

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

Color values

HEX#8B7937
RGBrgb(139, 121, 55)
HSLhsl(47, 43%, 38%)
HSVhsv(47, 60%, 55%)
CMYKcmyk(0%, 12.9%, 60.4%, 45.5%)
CIE-LABlab(51.20, -1.59, 38.06)
CIE-LCHlch(51.20, 38.09, 92.39°)
OKLaboklab(57.88% -0.0065 0.0883)
OKLCHoklch(57.88% 0.089 94.2)
XYZxyz(18.1752, 19.4404, 6.4087)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7937 #37498B
analogous
#8B4F37 #8B7937 #738B37
triadic
#8B7937 #378B79 #79378B
tetradic
#8B7937 #378B4F #37498B #8B3773
square
#8B7937 #378B4F #37498B #8B3773
split-complementary
#8B7937 #37738B #4F378B
monochromatic
#332D14 #5F5326 #8B7937 #B79F48 #C8B674

Accessibility & contrast

On white

4.30
#8B7937 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7937#FFFFFF#000000##000000
##8B79371.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857730
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#95706A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b7937;
/* rgb */ color: rgb(139, 121, 55);
/* oklch */ color: oklch(57.9% 0.089 94.2);
Tailwind
colors: {
  custom: {
    50: '#af9f70',
    500: '#8b7937',
    950: '#000000',
  },
}
SCSS
$custom: #8b7937;
$custom-light: #af9f70;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7937",
  "rgb": {
    "r": 139,
    "g": 121,
    "b": 55
  },
  "hsl": {
    "h": 47.143,
    "s": 43.299,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.08858,
    "h": 94.2
  },
  "luminance": 0.1944
}

Semantic roles & 50–950 ramp

primary
#8B7937
secondary
#6D7BB1
accent
#70D355
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8B7937

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

Preview Lab → · Contrast checker → · Palette generator →

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