#8D8341#8D8341

#8D8341 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.4% C 0.088 H 100.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8D8341
RGBrgb(141, 131, 65)
HSLhsl(52, 37%, 40%)
HSVhsv(52, 54%, 55%)
CMYKcmyk(0%, 7.1%, 53.9%, 44.7%)
CIE-LABlab(54.32, -5.43, 36.63)
CIE-LCHlch(54.32, 37.03, 98.44°)
OKLaboklab(60.43% -0.0165 0.0864)
OKLCHoklch(60.43% 0.088 100.8)
XYZxyz(20.0556, 22.2777, 8.2436)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8341 #414B8D
analogous
#8D5D41 #8D8341 #718D41
triadic
#8D8341 #418D83 #83418D
tetradic
#8D8341 #418D5D #414B8D #8D4171
square
#8D8341 #418D5D #414B8D #8D4171
split-complementary
#8D8341 #41718D #5D418D
monochromatic
#39351A #635C2E #8D8341 #B2A759 #C6BD83

Accessibility & contrast

On white

3.85
#8D8341 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8D8341 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8341
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8341#FFFFFF#000000##000000
##8D83411.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803B
Deuteranopia (green-blind)
#918444
Tritanopia (blue-blind)
#977B74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8341;
/* rgb */ color: rgb(141, 131, 65);
/* oklch */ color: oklch(60.4% 0.088 100.8);
Tailwind
colors: {
  custom: {
    50: '#b0a677',
    500: '#8d8341',
    950: '#000000',
  },
}
SCSS
$custom: #8d8341;
$custom-light: #b0a677;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8341",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 52.105,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60434,
    "c": 0.08792,
    "h": 100.8
  },
  "luminance": 0.22277
}

Semantic roles & 50–950 ramp

primary
#8D8341
secondary
#7981B0
accent
#6ACD5B
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8D8341

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

Preview Lab → · Contrast checker → · Palette generator →

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