#8D875C#8D875C

#8D875C is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.061 H 101.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8D875C
RGBrgb(141, 135, 92)
HSLhsl(53, 21%, 46%)
HSVhsv(53, 35%, 55%)
CMYKcmyk(0%, 4.3%, 34.8%, 44.7%)
CIE-LABlab(55.85, -4.67, 23.97)
CIE-LCHlch(55.85, 24.42, 101.02°)
OKLaboklab(61.78% -0.0118 0.0595)
OKLCHoklch(61.78% 0.061 101.2)
XYZxyz(21.5805, 23.7639, 13.5732)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D875C #5C628D
analogous
#8D6E5C #8D875C #7A8D5C
triadic
#8D875C #5C8D87 #875C8D
tetradic
#8D875C #5C8D6E #5C628D #8D5C7A
square
#8D875C #5C8D6E #5C628D #8D5C7A
split-complementary
#8D875C #5C7A8D #6E5C8D
monochromatic
#43402C #686444 #8D875C #AAA47C #C2BEA1

Accessibility & contrast

On white

3.65
#8D875C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8D875C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D875C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D875C#FFFFFF#000000##000000
##8D875C1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8459
Deuteranopia (green-blind)
#91875E
Tritanopia (blue-blind)
#94817C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d875c;
/* rgb */ color: rgb(141, 135, 92);
/* oklch */ color: oklch(61.8% 0.061 101.2);
Tailwind
colors: {
  custom: {
    50: '#afa98a',
    500: '#8d875c',
    950: '#000000',
  },
}
SCSS
$custom: #8d875c;
$custom-light: #afa98a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d875c",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 92
  },
  "hsl": {
    "h": 52.653,
    "s": 21.03,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61777,
    "c": 0.06067,
    "h": 101.2
  },
  "luminance": 0.23763
}

Semantic roles & 50–950 ramp

primary
#8D875C
secondary
#9598B0
accent
#74BE6A
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8D875C

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

Preview Lab → · Contrast checker → · Palette generator →

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