#8D7B2D#8D7B2D

#8D7B2D is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.4% C 0.099 H 96.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8D7B2D
RGBrgb(141, 123, 45)
HSLhsl(49, 52%, 36%)
HSVhsv(49, 68%, 55%)
CMYKcmyk(0%, 12.8%, 68.1%, 44.7%)
CIE-LABlab(51.86, -2.51, 43.66)
CIE-LCHlch(51.86, 43.73, 93.29°)
OKLaboklab(58.42% -0.0106 0.0987)
OKLCHoklch(58.42% 0.099 96.1)
XYZxyz(18.5420, 20.0190, 5.3695)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B2D #2D3F8D
analogous
#8D4B2D #8D7B2D #6F8D2D
triadic
#8D7B2D #2D8D7B #7B2D8D
tetradic
#8D7B2D #2D8D4B #2D3F8D #8D2D6F
square
#8D7B2D #2D8D4B #2D3F8D #8D2D6F
split-complementary
#8D7B2D #2D6F8D #4B2D8D
monochromatic
#302A0F #5F531E #8D7B2D #BBA33C #CEBB66

Accessibility & contrast

On white

4.20
#8D7B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8D7B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B2D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B2D#FFFFFF#000000##000000
##8D7B2D1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#98726B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7b2d;
/* rgb */ color: rgb(141, 123, 45);
/* oklch */ color: oklch(58.4% 0.099 96.1);
Tailwind
colors: {
  custom: {
    50: '#b1a06a',
    500: '#8d7b2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b2d;
$custom-light: #b1a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b2d",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 48.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58417,
    "c": 0.09927,
    "h": 96.1
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#8D7B2D
secondary
#6171B5
accent
#67DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D7B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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