#8D7D3D#8D7D3D

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

Color values

HEX#8D7D3D
RGBrgb(141, 125, 61)
HSLhsl(48, 40%, 40%)
HSVhsv(48, 57%, 55%)
CMYKcmyk(0%, 11.3%, 56.7%, 44.7%)
CIE-LABlab(52.58, -2.44, 36.65)
CIE-LCHlch(52.58, 36.73, 93.81°)
OKLaboklab(59.04% -0.0083 0.086)
OKLCHoklch(59.04% 0.086 95.5)
XYZxyz(19.1611, 20.6677, 7.3939)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D3D #3D4D8D
analogous
#8D553D #8D7D3D #758D3D
triadic
#8D7D3D #3D8D7D #7D3D8D
tetradic
#8D7D3D #3D8D55 #3D4D8D #8D3D75
square
#8D7D3D #3D8D55 #3D4D8D #8D3D75
split-complementary
#8D7D3D #3D758D #553D8D
monochromatic
#383118 #62572B #8D7D3D #B4A153 #C7B87D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7D3D#FFFFFF#000000##000000
##8D7D3D1.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)
#887B37
Deuteranopia (green-blind)
#8C8040
Tritanopia (blue-blind)
#97756E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d3d;
/* rgb */ color: rgb(141, 125, 61);
/* oklch */ color: oklch(59.0% 0.086 95.5);
Tailwind
colors: {
  custom: {
    50: '#b0a274',
    500: '#8d7d3d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d3d;
$custom-light: #b0a274;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d3d",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 61
  },
  "hsl": {
    "h": 48,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59043,
    "c": 0.08638,
    "h": 95.5
  },
  "luminance": 0.20667
}

Semantic roles & 50–950 ramp

primary
#8D7D3D
secondary
#7581B1
accent
#70CF58
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110F08
muted
#807E7B

Preview Lab

Preview with #8D7D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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