#8D7D2D#8D7D2D

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

Color values

HEX#8D7D2D
RGBrgb(141, 125, 45)
HSLhsl(50, 52%, 36%)
HSVhsv(50, 68%, 55%)
CMYKcmyk(0%, 11.3%, 68.1%, 44.7%)
CIE-LABlab(52.42, -3.63, 44.25)
CIE-LCHlch(52.42, 44.39, 94.69°)
OKLaboklab(58.86% -0.0138 0.0999)
OKLCHoklch(58.86% 0.101 97.9)
XYZxyz(18.7926, 20.5203, 5.4531)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D2D #2D3D8D
analogous
#8D4D2D #8D7D2D #6D8D2D
triadic
#8D7D2D #2D8D7D #7D2D8D
tetradic
#8D7D2D #2D8D4D #2D3D8D #8D2D6D
square
#8D7D2D #2D8D4D #2D3D8D #8D2D6D
split-complementary
#8D7D2D #2D6D8D #4D2D8D
monochromatic
#302B0F #5F541E #8D7D2D #BBA63C #CEBD66

Accessibility & contrast

On white

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

On black

5.10
#8D7D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D2D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D2D#FFFFFF#000000##000000
##8D7D2D1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A23
Deuteranopia (green-blind)
#8D7F31
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d2d;
/* rgb */ color: rgb(141, 125, 45);
/* oklch */ color: oklch(58.9% 0.101 97.9);
Tailwind
colors: {
  custom: {
    50: '#b1a26a',
    500: '#8d7d2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d2d;
$custom-light: #b1a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d2d",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 50,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58861,
    "c": 0.10089,
    "h": 97.9
  },
  "luminance": 0.20519
}

Semantic roles & 50–950 ramp

primary
#8D7D2D
secondary
#616FB5
accent
#64DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8D7D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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