#8D8640#8D8640

#8D8640 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.1% C 0.092 H 103.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8D8640
RGBrgb(141, 134, 64)
HSLhsl(55, 38%, 40%)
HSVhsv(55, 55%, 55%)
CMYKcmyk(0%, 5%, 54.6%, 44.7%)
CIE-LABlab(55.16, -7.18, 38.13)
CIE-LCHlch(55.16, 38.80, 100.66°)
OKLaboklab(61.1% -0.0216 0.0895)
OKLCHoklch(61.1% 0.092 103.6)
XYZxyz(20.4356, 23.0838, 8.2286)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8640 #40478D
analogous
#8D5F40 #8D8640 #6E8D40
triadic
#8D8640 #408D86 #86408D
tetradic
#8D8640 #408D5F #40478D #8D406E
square
#8D8640 #408D5F #40478D #8D406E
split-complementary
#8D8640 #406E8D #5F408D
monochromatic
#39361A #635E2D #8D8640 #B3AB57 #C6C081

Accessibility & contrast

On white

3.74
#8D8640 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8D8640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8640
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8640#FFFFFF#000000##000000
##8D86401.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#938643
Tritanopia (blue-blind)
#967E76
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8640;
/* rgb */ color: rgb(141, 134, 64);
/* oklch */ color: oklch(61.1% 0.092 103.6);
Tailwind
colors: {
  custom: {
    50: '#b0a977',
    500: '#8d8640',
    950: '#000000',
  },
}
SCSS
$custom: #8d8640;
$custom-light: #b0a977;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8640",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 54.545,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61095,
    "c": 0.09208,
    "h": 103.6
  },
  "luminance": 0.23083
}

Semantic roles & 50–950 ramp

primary
#8D8640
secondary
#787DB0
accent
#65CE5A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8D8640

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

Preview Lab → · Contrast checker → · Palette generator →

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