#8D8347#8D8347

#8D8347 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.081 H 100.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8D8347
RGBrgb(141, 131, 71)
HSLhsl(51, 33%, 42%)
HSVhsv(51, 50%, 55%)
CMYKcmyk(0%, 7.1%, 49.6%, 44.7%)
CIE-LABlab(54.40, -4.86, 33.59)
CIE-LCHlch(54.40, 33.94, 98.24°)
OKLaboklab(60.52% -0.0142 0.0802)
OKLCHoklch(60.52% 0.081 100)
XYZxyz(20.2387, 22.3510, 9.2081)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8347 #47518D
analogous
#8D6047 #8D8347 #748D47
triadic
#8D8347 #478D83 #83478D
tetradic
#8D8347 #478D60 #47518D #8D4774
square
#8D8347 #478D60 #47518D #8D4774
split-complementary
#8D8347 #47748D #60478D
monochromatic
#3C371E #645D33 #8D8347 #B0A562 #C4BC8A

Accessibility & contrast

On white

3.84
#8D8347 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8D8347 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8347
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8347#FFFFFF#000000##000000
##8D83471.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8042
Deuteranopia (green-blind)
#90844A
Tritanopia (blue-blind)
#967B75
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8347;
/* rgb */ color: rgb(141, 131, 71);
/* oklch */ color: oklch(60.5% 0.081 100.0);
Tailwind
colors: {
  custom: {
    50: '#b0a67b',
    500: '#8d8347',
    950: '#000000',
  },
}
SCSS
$custom: #8d8347;
$custom-light: #b0a67b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8347",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 71
  },
  "hsl": {
    "h": 51.429,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6052,
    "c": 0.08147,
    "h": 100
  },
  "luminance": 0.2235
}

Semantic roles & 50–950 ramp

primary
#8D8347
secondary
#8087B0
accent
#6EC95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8D8347

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

Preview Lab → · Contrast checker → · Palette generator →

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