#8D875A#8D875A

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

Color values

HEX#8D875A
RGBrgb(141, 135, 90)
HSLhsl(53, 22%, 45%)
HSVhsv(53, 36%, 55%)
CMYKcmyk(0%, 4.3%, 36.2%, 44.7%)
CIE-LABlab(55.82, -4.93, 25.04)
CIE-LCHlch(55.82, 25.52, 101.13°)
OKLaboklab(61.74% -0.0127 0.0619)
OKLCHoklch(61.74% 0.063 101.6)
XYZxyz(21.4942, 23.7294, 13.1188)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D875A #5A608D
analogous
#8D6D5A #8D875A #798D5A
triadic
#8D875A #5A8D87 #875A8D
tetradic
#8D875A #5A8D6D #5A608D #8D5A79
square
#8D875A #5A8D6D #5A608D #8D5A79
split-complementary
#8D875A #5A798D #6D5A8D
monochromatic
#423F2A #686342 #8D875A #AAA47A #C2BE9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8d875a;
/* rgb */ color: rgb(141, 135, 90);
/* oklch */ color: oklch(61.7% 0.063 101.6);
Tailwind
colors: {
  custom: {
    50: '#afa989',
    500: '#8d875a',
    950: '#000000',
  },
}
SCSS
$custom: #8d875a;
$custom-light: #afa989;
$custom-dark: #000000;
JSON
{
  "hex": "#8d875a",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 90
  },
  "hsl": {
    "h": 52.941,
    "s": 22.078,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61738,
    "c": 0.06321,
    "h": 101.6
  },
  "luminance": 0.23729
}

Semantic roles & 50–950 ramp

primary
#8D875A
secondary
#9396B0
accent
#73BF69
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8D875A

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

Preview Lab → · Contrast checker → · Palette generator →

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