#8D7D34#8D7D34

#8D7D34 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.095 H 97.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8D7D34
RGBrgb(141, 125, 52)
HSLhsl(49, 46%, 38%)
HSVhsv(49, 63%, 55%)
CMYKcmyk(0%, 11.3%, 63.1%, 44.7%)
CIE-LABlab(52.49, -3.16, 41.04)
CIE-LCHlch(52.49, 41.16, 94.40°)
OKLaboklab(58.93% -0.0115 0.0943)
OKLCHoklch(58.93% 0.095 97)
XYZxyz(18.9388, 20.5788, 6.2227)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D34 #34448D
analogous
#8D5034 #8D7D34 #718D34
triadic
#8D7D34 #348D7D #7D348D
tetradic
#8D7D34 #348D50 #34448D #8D3471
square
#8D7D34 #348D50 #34448D #8D3471
split-complementary
#8D7D34 #34718D #50348D
monochromatic
#342E13 #605524 #8D7D34 #BAA544 #CBBA71

Accessibility & contrast

On white

4.11
#8D7D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8D7D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D34
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D34#FFFFFF#000000##000000
##8D7D341.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A2C
Deuteranopia (green-blind)
#8D8038
Tritanopia (blue-blind)
#98746D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d34;
/* rgb */ color: rgb(141, 125, 52);
/* oklch */ color: oklch(58.9% 0.095 97.0);
Tailwind
colors: {
  custom: {
    50: '#b1a26f',
    500: '#8d7d34',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d34;
$custom-light: #b1a26f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d34",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 52
  },
  "hsl": {
    "h": 49.213,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58934,
    "c": 0.09496,
    "h": 97
  },
  "luminance": 0.20578
}

Semantic roles & 50–950 ramp

primary
#8D7D34
secondary
#6A77B3
accent
#6AD652
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8D7D34

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

Preview Lab → · Contrast checker → · Palette generator →

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