#8D875B#8D875B

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

Color values

HEX#8D875B
RGBrgb(141, 135, 91)
HSLhsl(53, 22%, 45%)
HSVhsv(53, 35%, 55%)
CMYKcmyk(0%, 4.3%, 35.5%, 44.7%)
CIE-LABlab(55.83, -4.80, 24.51)
CIE-LCHlch(55.83, 24.97, 101.08°)
OKLaboklab(61.76% -0.0122 0.0607)
OKLCHoklch(61.76% 0.062 101.4)
XYZxyz(21.5371, 23.7465, 13.3445)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D875B #5B618D
analogous
#8D6E5B #8D875B #7A8D5B
triadic
#8D875B #5B8D87 #875B8D
tetradic
#8D875B #5B8D6E #5B618D #8D5B7A
square
#8D875B #5B8D6E #5B618D #8D5B7A
split-complementary
#8D875B #5B7A8D #6E5B8D
monochromatic
#43402B #686343 #8D875B #AAA47B #C2BEA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D875B#FFFFFF#000000##000000
##8D875B1.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)
#8F8458
Deuteranopia (green-blind)
#91875D
Tritanopia (blue-blind)
#94817C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d875b;
/* rgb */ color: rgb(141, 135, 91);
/* oklch */ color: oklch(61.8% 0.062 101.4);
Tailwind
colors: {
  custom: {
    50: '#afa98a',
    500: '#8d875b',
    950: '#000000',
  },
}
SCSS
$custom: #8d875b;
$custom-light: #afa98a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d875b",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 52.8,
    "s": 21.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.61758,
    "c": 0.06194,
    "h": 101.4
  },
  "luminance": 0.23746
}

Semantic roles & 50–950 ramp

primary
#8D875B
secondary
#9497B0
accent
#74BE6A
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8D875B

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

Preview Lab → · Contrast checker → · Palette generator →

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