#8D7B3E#8D7B3E

#8D7B3E is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.6% C 0.084 H 93.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8D7B3E
RGBrgb(141, 123, 62)
HSLhsl(46, 39%, 40%)
HSVhsv(46, 56%, 55%)
CMYKcmyk(0%, 12.8%, 56%, 44.7%)
CIE-LABlab(52.04, -1.23, 35.49)
CIE-LCHlch(52.04, 35.51, 91.98°)
OKLaboklab(58.61% -0.0047 0.0836)
OKLCHoklch(58.61% 0.084 93.2)
XYZxyz(18.9377, 20.1773, 7.4536)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B3E #3E508D
analogous
#8D543E #8D7B3E #788D3E
triadic
#8D7B3E #3E8D7B #7B3E8D
tetradic
#8D7B3E #3E8D54 #3E508D #8D3E78
square
#8D7B3E #3E8D54 #3E508D #8D3E78
split-complementary
#8D7B3E #3E788D #543E8D
monochromatic
#383119 #62562B #8D7B3E #B49E54 #C7B67F

Accessibility & contrast

On white

4.17
#8D7B3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8D7B3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B3E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B3E#FFFFFF#000000##000000
##8D7B3E1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867938
Deuteranopia (green-blind)
#8B7E40
Tritanopia (blue-blind)
#97736D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7b3e;
/* rgb */ color: rgb(141, 123, 62);
/* oklch */ color: oklch(58.6% 0.084 93.2);
Tailwind
colors: {
  custom: {
    50: '#b0a175',
    500: '#8d7b3e',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b3e;
$custom-light: #b0a175;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b3e",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 62
  },
  "hsl": {
    "h": 46.329,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.08369,
    "h": 93.2
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#8D7B3E
secondary
#7683B1
accent
#74CF59
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8D7B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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