#8D8047#8D8047

#8D8047 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.079 H 96.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8D8047
RGBrgb(141, 128, 71)
HSLhsl(49, 33%, 42%)
HSVhsv(49, 50%, 55%)
CMYKcmyk(0%, 9.2%, 49.6%, 44.7%)
CIE-LABlab(53.55, -3.19, 32.55)
CIE-LCHlch(53.55, 32.71, 95.60°)
OKLaboklab(59.85% -0.0093 0.0779)
OKLCHoklch(59.85% 0.079 96.8)
XYZxyz(19.8416, 21.5567, 9.0757)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8047 #47548D
analogous
#8D5D47 #8D8047 #778D47
triadic
#8D8047 #478D80 #80478D
tetradic
#8D8047 #478D5D #47548D #8D4777
square
#8D8047 #478D5D #47548D #8D4777
split-complementary
#8D8047 #47778D #5D478D
monochromatic
#3C361E #645B33 #8D8047 #B0A162 #C4B98A

Accessibility & contrast

On white

3.95
#8D8047 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8D8047 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8047
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8047#FFFFFF#000000##000000
##8D80471.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D42
Deuteranopia (green-blind)
#8E8249
Tritanopia (blue-blind)
#967872
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8047;
/* rgb */ color: rgb(141, 128, 71);
/* oklch */ color: oklch(59.9% 0.079 96.8);
Tailwind
colors: {
  custom: {
    50: '#b0a47b',
    500: '#8d8047',
    950: '#000000',
  },
}
SCSS
$custom: #8d8047;
$custom-light: #b0a47b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8047",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 71
  },
  "hsl": {
    "h": 48.857,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.0785,
    "h": 96.8
  },
  "luminance": 0.21556
}

Semantic roles & 50–950 ramp

primary
#8D8047
secondary
#8089B0
accent
#72C95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8D8047

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

Preview Lab → · Contrast checker → · Palette generator →

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