#8D7D3B#8D7D3B

#8D7D3B is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.0% C 0.088 H 95.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8D7D3B
RGBrgb(141, 125, 59)
HSLhsl(48, 41%, 39%)
HSVhsv(48, 58%, 55%)
CMYKcmyk(0%, 11.3%, 58.2%, 44.7%)
CIE-LABlab(52.56, -2.61, 37.65)
CIE-LCHlch(52.56, 37.74, 93.97°)
OKLaboklab(59.02% -0.0091 0.0879)
OKLCHoklch(59.02% 0.088 95.9)
XYZxyz(19.1083, 20.6466, 7.1155)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D3B #3B4B8D
analogous
#8D543B #8D7D3B #748D3B
triadic
#8D7D3B #3B8D7D #7D3B8D
tetradic
#8D7D3B #3B8D54 #3B4B8D #8D3B74
square
#8D7D3B #3B8D54 #3B4B8D #8D3B74
split-complementary
#8D7D3B #3B748D #543B8D
monochromatic
#373117 #625729 #8D7D3B #B6A250 #C8B97B

Accessibility & contrast

On white

4.09
#8D7D3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8D7D3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D3B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D3B#FFFFFF#000000##000000
##8D7D3B1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A35
Deuteranopia (green-blind)
#8D803E
Tritanopia (blue-blind)
#97756E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d3b;
/* rgb */ color: rgb(141, 125, 59);
/* oklch */ color: oklch(59.0% 0.088 95.9);
Tailwind
colors: {
  custom: {
    50: '#b0a273',
    500: '#8d7d3b',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d3b;
$custom-light: #b0a273;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d3b",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 59
  },
  "hsl": {
    "h": 48.293,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59017,
    "c": 0.08837,
    "h": 95.9
  },
  "luminance": 0.20646
}

Semantic roles & 50–950 ramp

primary
#8D7D3B
secondary
#737FB1
accent
#6FD157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110F08
muted
#807E7B

Preview Lab

Preview with #8D7D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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