#8D7D2F#8D7D2F

#8D7D2F is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.9% C 0.099 H 97.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8D7D2F
RGBrgb(141, 125, 47)
HSLhsl(50, 50%, 37%)
HSVhsv(50, 67%, 55%)
CMYKcmyk(0%, 11.3%, 66.7%, 44.7%)
CIE-LABlab(52.44, -3.50, 43.35)
CIE-LCHlch(52.44, 43.49, 94.62°)
OKLaboklab(58.88% -0.0132 0.0984)
OKLCHoklch(58.88% 0.099 97.6)
XYZxyz(18.8320, 20.5361, 5.6607)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D2F #2F3F8D
analogous
#8D4E2F #8D7D2F #6E8D2F
triadic
#8D7D2F #2F8D7D #7D2F8D
tetradic
#8D7D2F #2F8D4E #2F3F8D #8D2F6E
square
#8D7D2F #2F8D4E #2F3F8D #8D2F6E
split-complementary
#8D7D2F #2F6E8D #4E2F8D
monochromatic
#312C10 #5F5420 #8D7D2F #BBA63E #CDBC69

Accessibility & contrast

On white

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

On black

5.11
#8D7D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D2F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D2F#FFFFFF#000000##000000
##8D7D2F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d7d2f;
/* rgb */ color: rgb(141, 125, 47);
/* oklch */ color: oklch(58.9% 0.099 97.6);
Tailwind
colors: {
  custom: {
    50: '#b1a26b',
    500: '#8d7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d2f;
$custom-light: #b1a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d2f",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 49.787,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58881,
    "c": 0.09927,
    "h": 97.6
  },
  "luminance": 0.20535
}

Semantic roles & 50–950 ramp

primary
#8D7D2F
secondary
#6471B4
accent
#66DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8D7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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