#8D7B31#8D7B31

#8D7B31 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.5% C 0.096 H 95.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8D7B31
RGBrgb(141, 123, 49)
HSLhsl(48, 48%, 37%)
HSVhsv(48, 65%, 55%)
CMYKcmyk(0%, 12.8%, 65.2%, 44.7%)
CIE-LABlab(51.90, -2.25, 41.83)
CIE-LCHlch(51.90, 41.89, 93.07°)
OKLaboklab(58.46% -0.0093 0.0955)
OKLCHoklch(58.46% 0.096 95.6)
XYZxyz(18.6227, 20.0513, 5.7945)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B31 #31438D
analogous
#8D4D31 #8D7B31 #718D31
triadic
#8D7B31 #318D7B #7B318D
tetradic
#8D7B31 #318D4D #31438D #8D3171
square
#8D7B31 #318D4D #31438D #8D3171
split-complementary
#8D7B31 #31718D #4D318D
monochromatic
#322C11 #605321 #8D7B31 #BAA341 #CCB96C

Accessibility & contrast

On white

4.19
#8D7B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8D7B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B31
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B31#FFFFFF#000000##000000
##8D7B311.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877829
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#98726B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7b31;
/* rgb */ color: rgb(141, 123, 49);
/* oklch */ color: oklch(58.5% 0.096 95.6);
Tailwind
colors: {
  custom: {
    50: '#b1a06d',
    500: '#8d7b31',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b31;
$custom-light: #b1a06d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b31",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 49
  },
  "hsl": {
    "h": 48.261,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58457,
    "c": 0.09593,
    "h": 95.6
  },
  "luminance": 0.2005
}

Semantic roles & 50–950 ramp

primary
#8D7B31
secondary
#6675B4
accent
#6AD850
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D7B31

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

Preview Lab → · Contrast checker → · Palette generator →

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