#8D8440#8D8440

#8D8440 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.6% C 0.090 H 101.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8D8440
RGBrgb(141, 132, 64)
HSLhsl(53, 38%, 40%)
HSVhsv(53, 55%, 55%)
CMYKcmyk(0%, 6.4%, 54.6%, 44.7%)
CIE-LABlab(54.59, -6.08, 37.47)
CIE-LCHlch(54.59, 37.95, 99.21°)
OKLaboklab(60.65% -0.0185 0.0881)
OKLCHoklch(60.65% 0.09 101.8)
XYZxyz(20.1618, 22.5361, 8.1374)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8440 #40498D
analogous
#8D5D40 #8D8440 #6F8D40
triadic
#8D8440 #408D84 #84408D
tetradic
#8D8440 #408D5D #40498D #8D406F
square
#8D8440 #408D5D #40498D #8D406F
split-complementary
#8D8440 #406F8D #5D408D
monochromatic
#39351A #635D2D #8D8440 #B3A857 #C6BE81

Accessibility & contrast

On white

3.81
#8D8440 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8D8440 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8440
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8440#FFFFFF#000000##000000
##8D84401.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F803A
Deuteranopia (green-blind)
#918443
Tritanopia (blue-blind)
#977C75
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8440;
/* rgb */ color: rgb(141, 132, 64);
/* oklch */ color: oklch(60.6% 0.090 101.8);
Tailwind
colors: {
  custom: {
    50: '#b0a777',
    500: '#8d8440',
    950: '#000000',
  },
}
SCSS
$custom: #8d8440;
$custom-light: #b0a777;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8440",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 64
  },
  "hsl": {
    "h": 52.987,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60645,
    "c": 0.08998,
    "h": 101.8
  },
  "luminance": 0.22535
}

Semantic roles & 50–950 ramp

primary
#8D8440
secondary
#787FB0
accent
#68CE5A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8D8440

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

Preview Lab → · Contrast checker → · Palette generator →

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