#8D7D1D#8D7D1D

#8D7D1D is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.112 H 99.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8D7D1D
RGBrgb(141, 125, 29)
HSLhsl(51, 66%, 33%)
HSVhsv(51, 79%, 55%)
CMYKcmyk(0%, 11.3%, 79.4%, 44.7%)
CIE-LABlab(52.31, -4.45, 50.59)
CIE-LCHlch(52.31, 50.79, 95.03°)
OKLaboklab(58.74% -0.0179 0.1103)
OKLCHoklch(58.74% 0.112 99.2)
XYZxyz(18.5408, 20.4196, 4.1269)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D1D #1D2D8D
analogous
#8D451D #8D7D1D #658D1D
triadic
#8D7D1D #1D8D7D #7D1D8D
tetradic
#8D7D1D #1D8D45 #1D2D8D #8D1D65
square
#8D7D1D #1D8D45 #1D2D8D #8D1D65
split-complementary
#8D7D1D #1D658D #451D8D
monochromatic
#272308 #5A5013 #8D7D1D #C0AA27 #DAC54B

Accessibility & contrast

On white

4.13
#8D7D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8D7D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D1D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D1D#FFFFFF#000000##000000
##8D7D1D1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A07
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#99736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d1d;
/* rgb */ color: rgb(141, 125, 29);
/* oklch */ color: oklch(58.7% 0.112 99.2);
Tailwind
colors: {
  custom: {
    50: '#b2a262',
    500: '#8d7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d1d;
$custom-light: #b2a262;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d1d",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 51.429,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58737,
    "c": 0.11174,
    "h": 99.2
  },
  "luminance": 0.20419
}

Semantic roles & 50–950 ramp

primary
#8D7D1D
secondary
#4A5ABC
accent
#57E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8D7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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