#8D7939#8D7939

#8D7939 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.087 H 92.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D7939
RGBrgb(141, 121, 57)
HSLhsl(46, 42%, 39%)
HSVhsv(46, 60%, 55%)
CMYKcmyk(0%, 14.2%, 59.6%, 44.7%)
CIE-LABlab(51.42, -0.52, 37.35)
CIE-LCHlch(51.42, 37.36, 90.80°)
OKLaboklab(58.11% -0.0033 0.087)
OKLCHoklch(58.11% 0.087 92.2)
XYZxyz(18.5612, 19.6338, 6.6821)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7939 #394D8D
analogous
#8D4F39 #8D7939 #778D39
triadic
#8D7939 #398D79 #79398D
tetradic
#8D7939 #398D4F #394D8D #8D3977
square
#8D7939 #398D4F #394D8D #8D3977
split-complementary
#8D7939 #39778D #4F398D
monochromatic
#362E16 #615427 #8D7939 #B79D4C #C8B578

Accessibility & contrast

On white

4.26
#8D7939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8D7939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7939
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7939#FFFFFF#000000##000000
##8D79391.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857733
Deuteranopia (green-blind)
#8A7D3C
Tritanopia (blue-blind)
#98706B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d7939;
/* rgb */ color: rgb(141, 121, 57);
/* oklch */ color: oklch(58.1% 0.087 92.2);
Tailwind
colors: {
  custom: {
    50: '#b19f71',
    500: '#8d7939',
    950: '#000000',
  },
}
SCSS
$custom: #8d7939;
$custom-light: #b19f71;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7939",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 45.714,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.08708,
    "h": 92.2
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#8D7939
secondary
#7080B2
accent
#73D256
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8D7939

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

Preview Lab → · Contrast checker → · Palette generator →

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