#8D875F#8D875F

#8D875F is a mid, muted yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.057 H 100.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8D875F
RGBrgb(141, 135, 95)
HSLhsl(52, 19%, 46%)
HSVhsv(52, 33%, 55%)
CMYKcmyk(0%, 4.3%, 32.6%, 44.7%)
CIE-LABlab(55.90, -4.27, 22.37)
CIE-LCHlch(55.90, 22.77, 100.82°)
OKLaboklab(61.84% -0.0105 0.0558)
OKLCHoklch(61.84% 0.057 100.6)
XYZxyz(21.7142, 23.8174, 14.2776)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D875F #5F658D
analogous
#8D705F #8D875F #7C8D5F
triadic
#8D875F #5F8D87 #875F8D
tetradic
#8D875F #5F8D70 #5F658D #8D5F7C
square
#8D875F #5F8D70 #5F658D #8D5F7C
split-complementary
#8D875F #5F7C8D #705F8D
monochromatic
#44412E #686446 #8D875F #A9A480 #C2BEA4

Accessibility & contrast

On white

3.64
#8D875F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8D875F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D875F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D875F#FFFFFF#000000##000000
##8D875F1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845C
Deuteranopia (green-blind)
#908760
Tritanopia (blue-blind)
#94827D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d875f;
/* rgb */ color: rgb(141, 135, 95);
/* oklch */ color: oklch(61.8% 0.057 100.6);
Tailwind
colors: {
  custom: {
    50: '#afa98c',
    500: '#8d875f',
    950: '#000000',
  },
}
SCSS
$custom: #8d875f;
$custom-light: #afa98c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d875f",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 52.174,
    "s": 19.492,
    "l": 46.275
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.0568,
    "h": 100.6
  },
  "luminance": 0.23817
}

Semantic roles & 50–950 ramp

primary
#8D875F
secondary
#979BB0
accent
#76BC6C
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8D875F

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

Preview Lab → · Contrast checker → · Palette generator →

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