#8A8873#8A8873

#8A8873 is a light, muted yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.031 H 102.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A8873
RGBrgb(138, 136, 115)
HSLhsl(55, 9%, 50%)
HSVhsv(55, 17%, 54%)
CMYKcmyk(0%, 1.4%, 16.7%, 45.9%)
CIE-LABlab(56.34, -3.05, 11.57)
CIE-LCHlch(56.34, 11.96, 104.75°)
OKLaboklab(62.25% -0.0067 0.0298)
OKLCHoklch(62.25% 0.031 102.8)
XYZxyz(22.3797, 24.2496, 19.7180)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8873 #73758A
analogous
#8A7D73 #8A8873 #818A73
triadic
#8A8873 #738A88 #88738A
tetradic
#8A8873 #738A7D #73758A #8A7381
square
#8A8873 #738A7D #73758A #8A7381
split-complementary
#8A8873 #73818A #7D738A
monochromatic
#47463B #696757 #8A8873 #A6A494 #C2C1B6

Accessibility & contrast

On white

3.59
#8A8873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8A8873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8873
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8873#FFFFFF#000000##000000
##8A88731.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8672
Deuteranopia (green-blind)
#8D8874
Tritanopia (blue-blind)
#8E8582
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8873;
/* rgb */ color: rgb(138, 136, 115);
/* oklch */ color: oklch(62.3% 0.031 102.8);
Tailwind
colors: {
  custom: {
    50: '#acaa9b',
    500: '#8a8873',
    950: '#000000',
  },
}
SCSS
$custom: #8a8873;
$custom-light: #acaa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8873",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 115
  },
  "hsl": {
    "h": 54.783,
    "s": 9.091,
    "l": 49.608
  },
  "oklch": {
    "l": 0.62251,
    "c": 0.03056,
    "h": 102.8
  },
  "luminance": 0.24249
}

Semantic roles & 50–950 ramp

primary
#8A8873
secondary
#A7A8B2
accent
#7BB276
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A8873

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

Preview Lab → · Contrast checker → · Palette generator →

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