#8D8872#8D8872

#8D8872 is a light, muted yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.032 H 96.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8D8872
RGBrgb(141, 136, 114)
HSLhsl(49, 11%, 50%)
HSVhsv(49, 19%, 55%)
CMYKcmyk(0%, 3.5%, 19.1%, 44.7%)
CIE-LABlab(56.57, -2.02, 12.50)
CIE-LCHlch(56.57, 12.67, 99.17°)
OKLaboklab(62.49% -0.0037 0.0322)
OKLCHoklch(62.49% 0.032 96.6)
XYZxyz(22.8258, 24.4863, 19.4402)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8872 #72778D
analogous
#8D7B72 #8D8872 #848D72
triadic
#8D8872 #728D88 #88728D
tetradic
#8D8872 #728D7B #72778D #8D7284
square
#8D8872 #728D7B #72778D #8D7284
split-complementary
#8D8872 #72848D #7B728D
monochromatic
#49473B #6B6757 #8D8872 #A8A594 #C4C1B6

Accessibility & contrast

On white

3.56
#8D8872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8D8872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8872
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8872#FFFFFF#000000##000000
##8D88721.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8771
Deuteranopia (green-blind)
#8E8873
Tritanopia (blue-blind)
#928582
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8872;
/* rgb */ color: rgb(141, 136, 114);
/* oklch */ color: oklch(62.5% 0.032 96.6);
Tailwind
colors: {
  custom: {
    50: '#aeaa9a',
    500: '#8d8872',
    950: '#000000',
  },
}
SCSS
$custom: #8d8872;
$custom-light: #aeaa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8872",
  "rgb": {
    "r": 141,
    "g": 136,
    "b": 114
  },
  "hsl": {
    "h": 48.889,
    "s": 10.588,
    "l": 50
  },
  "oklch": {
    "l": 0.62492,
    "c": 0.03237,
    "h": 96.6
  },
  "luminance": 0.24486
}

Semantic roles & 50–950 ramp

primary
#8D8872
secondary
#A7AAB3
accent
#80B474
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8D8872

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

Preview Lab → · Contrast checker → · Palette generator →

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