#8D8972#8D8972

#8D8972 is a light, muted yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.034 H 99.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8D8972
RGBrgb(141, 137, 114)
HSLhsl(51, 11%, 50%)
HSVhsv(51, 19%, 55%)
CMYKcmyk(0%, 2.8%, 19.1%, 44.7%)
CIE-LABlab(56.85, -2.58, 12.89)
CIE-LCHlch(56.85, 13.15, 101.31°)
OKLaboklab(62.71% -0.0053 0.0331)
OKLCHoklch(62.71% 0.034 99.1)
XYZxyz(22.9673, 24.7693, 19.4874)
Luminance0.2477 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8972 #72768D
analogous
#8D7C72 #8D8972 #838D72
triadic
#8D8972 #728D89 #89728D
tetradic
#8D8972 #728D7C #72768D #8D7283
square
#8D8972 #728D7C #72768D #8D7283
split-complementary
#8D8972 #72838D #7C728D
monochromatic
#49473B #6B6857 #8D8972 #A8A594 #C4C2B6

Accessibility & contrast

On white

3.53
#8D8972 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8D8972 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8972
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8972#FFFFFF#000000##000000
##8D89721.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8771
Deuteranopia (green-blind)
#8F8973
Tritanopia (blue-blind)
#918683
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8972;
/* rgb */ color: rgb(141, 137, 114);
/* oklch */ color: oklch(62.7% 0.034 99.1);
Tailwind
colors: {
  custom: {
    50: '#aeab9a',
    500: '#8d8972',
    950: '#000000',
  },
}
SCSS
$custom: #8d8972;
$custom-light: #aeab9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8972",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 114
  },
  "hsl": {
    "h": 51.111,
    "s": 10.588,
    "l": 50
  },
  "oklch": {
    "l": 0.62711,
    "c": 0.03355,
    "h": 99.1
  },
  "luminance": 0.24769
}

Semantic roles & 50–950 ramp

primary
#8D8972
secondary
#A7A9B3
accent
#7EB474
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8D8972

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

Preview Lab → · Contrast checker → · Palette generator →

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