#8D7831#8D7831

#8D7831 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.8% C 0.094 H 92.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8D7831
RGBrgb(141, 120, 49)
HSLhsl(46, 48%, 37%)
HSVhsv(46, 65%, 55%)
CMYKcmyk(0%, 14.9%, 65.2%, 44.7%)
CIE-LABlab(51.06, -0.55, 40.92)
CIE-LCHlch(51.06, 40.92, 90.78°)
OKLaboklab(57.79% -0.0044 0.0935)
OKLCHoklch(57.79% 0.094 92.7)
XYZxyz(18.2562, 19.3184, 5.6724)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7831 #31468D
analogous
#8D4A31 #8D7831 #748D31
triadic
#8D7831 #318D78 #78318D
tetradic
#8D7831 #318D4A #31468D #8D3174
square
#8D7831 #318D4A #31468D #8D3174
split-complementary
#8D7831 #31748D #4A318D
monochromatic
#322B11 #605121 #8D7831 #BA9F41 #CCB66C

Accessibility & contrast

On white

4.32
#8D7831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8D7831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7831
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7831#FFFFFF#000000##000000
##8D78311.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#847629
Deuteranopia (green-blind)
#8A7C34
Tritanopia (blue-blind)
#986F69
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d7831;
/* rgb */ color: rgb(141, 120, 49);
/* oklch */ color: oklch(57.8% 0.094 92.7);
Tailwind
colors: {
  custom: {
    50: '#b19e6c',
    500: '#8d7831',
    950: '#000000',
  },
}
SCSS
$custom: #8d7831;
$custom-light: #b19e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7831",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 49
  },
  "hsl": {
    "h": 46.304,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57795,
    "c": 0.09366,
    "h": 92.7
  },
  "luminance": 0.19317
}

Semantic roles & 50–950 ramp

primary
#8D7831
secondary
#6678B4
accent
#6FD850
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D7831

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

Preview Lab → · Contrast checker → · Palette generator →

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