#8A875D#8A875D

#8A875D is a mid, muted yellow. Relative luminance 0.235; OKLCH L 61.5% C 0.059 H 104.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A875D
RGBrgb(138, 135, 93)
HSLhsl(56, 19%, 45%)
HSVhsv(56, 33%, 54%)
CMYKcmyk(0%, 2.2%, 32.6%, 45.9%)
CIE-LABlab(55.61, -5.79, 23.04)
CIE-LCHlch(55.61, 23.76, 104.12°)
OKLaboklab(61.53% -0.0149 0.0574)
OKLCHoklch(61.53% 0.059 104.5)
XYZxyz(21.1212, 23.5220, 13.7814)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A875D #5D608A
analogous
#8A705D #8A875D #768A5D
triadic
#8A875D #5D8A87 #875D8A
tetradic
#8A875D #5D8A70 #5D608A #8A5D76
square
#8A875D #5D8A70 #5D608A #8A5D76
split-complementary
#8A875D #5D768A #705D8A
monochromatic
#413F2C #656344 #8A875D #A7A47D #C0BEA1

Accessibility & contrast

On white

3.68
#8A875D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A875D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A875D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A875D#FFFFFF#000000##000000
##8A875D1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845A
Deuteranopia (green-blind)
#90865F
Tritanopia (blue-blind)
#90827C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a875d;
/* rgb */ color: rgb(138, 135, 93);
/* oklch */ color: oklch(61.5% 0.059 104.5);
Tailwind
colors: {
  custom: {
    50: '#ada98b',
    500: '#8a875d',
    950: '#000000',
  },
}
SCSS
$custom: #8a875d;
$custom-light: #ada98b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a875d",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 93
  },
  "hsl": {
    "h": 56,
    "s": 19.481,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61526,
    "c": 0.05927,
    "h": 104.5
  },
  "luminance": 0.23522
}

Semantic roles & 50–950 ramp

primary
#8A875D
secondary
#9596AE
accent
#71BC6C
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8A875D

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

Preview Lab → · Contrast checker → · Palette generator →

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