#8D7C40#8D7C40

#8D7C40 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.9% C 0.082 H 93.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8D7C40
RGBrgb(141, 124, 64)
HSLhsl(47, 38%, 40%)
HSVhsv(47, 55%, 55%)
CMYKcmyk(0%, 12.1%, 54.6%, 44.7%)
CIE-LABlab(52.34, -1.61, 34.80)
CIE-LCHlch(52.34, 34.84, 92.66°)
OKLaboklab(58.86% -0.0056 0.0823)
OKLCHoklch(58.86% 0.082 93.9)
XYZxyz(19.1183, 20.4490, 7.7895)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C40 #40518D
analogous
#8D5540 #8D7C40 #788D40
triadic
#8D7C40 #408D7C #7C408D
tetradic
#8D7C40 #408D55 #40518D #8D4078
square
#8D7C40 #408D55 #40518D #8D4078
split-complementary
#8D7C40 #40788D #55408D
monochromatic
#39321A #63572D #8D7C40 #B39F57 #C6B781

Accessibility & contrast

On white

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

On black

5.09
#8D7C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C40
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C40#FFFFFF#000000##000000
##8D7C401.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3B
Deuteranopia (green-blind)
#8B7F42
Tritanopia (blue-blind)
#97746E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7c40;
/* rgb */ color: rgb(141, 124, 64);
/* oklch */ color: oklch(58.9% 0.082 93.9);
Tailwind
colors: {
  custom: {
    50: '#b0a176',
    500: '#8d7c40',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c40;
$custom-light: #b0a176;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c40",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 46.753,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58863,
    "c": 0.08246,
    "h": 93.9
  },
  "luminance": 0.20448
}

Semantic roles & 50–950 ramp

primary
#8D7C40
secondary
#7885B0
accent
#74CE5A
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110F08
muted
#807E7B

Preview Lab

Preview with #8D7C40

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

Preview Lab → · Contrast checker → · Palette generator →

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