#8D8141#8D8141

#8D8141 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.0% C 0.086 H 98.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8D8141
RGBrgb(141, 129, 65)
HSLhsl(51, 37%, 40%)
HSVhsv(51, 54%, 55%)
CMYKcmyk(0%, 8.5%, 53.9%, 44.7%)
CIE-LABlab(53.76, -4.32, 35.96)
CIE-LCHlch(53.76, 36.22, 96.86°)
OKLaboklab(59.99% -0.0133 0.0849)
OKLCHoklch(59.99% 0.086 98.9)
XYZxyz(19.7895, 21.7456, 8.1549)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8141 #414D8D
analogous
#8D5B41 #8D8141 #738D41
triadic
#8D8141 #418D81 #81418D
tetradic
#8D8141 #418D5B #414D8D #8D4173
square
#8D8141 #418D5B #414D8D #8D4173
split-complementary
#8D8141 #41738D #5B418D
monochromatic
#39341A #635B2E #8D8141 #B2A459 #C6BB83

Accessibility & contrast

On white

3.93
#8D8141 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8D8141 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8141
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8141#FFFFFF#000000##000000
##8D81411.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3B
Deuteranopia (green-blind)
#8F8244
Tritanopia (blue-blind)
#977972
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8141;
/* rgb */ color: rgb(141, 129, 65);
/* oklch */ color: oklch(60.0% 0.086 98.9);
Tailwind
colors: {
  custom: {
    50: '#b0a577',
    500: '#8d8141',
    950: '#000000',
  },
}
SCSS
$custom: #8d8141;
$custom-light: #b0a577;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8141",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 65
  },
  "hsl": {
    "h": 50.526,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59987,
    "c": 0.08594,
    "h": 98.9
  },
  "luminance": 0.21745
}

Semantic roles & 50–950 ramp

primary
#8D8141
secondary
#7982B0
accent
#6DCD5B
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8D8141

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

Preview Lab → · Contrast checker → · Palette generator →

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