#8A8870#8A8870

#8A8870 is a light, muted yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.035 H 103.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A8870
RGBrgb(138, 136, 112)
HSLhsl(55, 10%, 49%)
HSVhsv(55, 19%, 54%)
CMYKcmyk(0%, 1.4%, 18.8%, 45.9%)
CIE-LABlab(56.27, -3.54, 13.19)
CIE-LCHlch(56.27, 13.65, 105.01°)
OKLaboklab(62.18% -0.0081 0.0338)
OKLCHoklch(62.18% 0.035 103.4)
XYZxyz(22.2099, 24.1817, 18.8236)
Luminance0.2418 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8870 #70728A
analogous
#8A7B70 #8A8870 #7F8A70
triadic
#8A8870 #708A88 #88708A
tetradic
#8A8870 #708A7B #70728A #8A707F
square
#8A8870 #708A7B #70728A #8A707F
split-complementary
#8A8870 #707F8A #7B708A
monochromatic
#464539 #686755 #8A8870 #A6A491 #C1C0B3

Accessibility & contrast

On white

3.60
#8A8870 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8A8870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8870
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8870#FFFFFF#000000##000000
##8A88701.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D866F
Deuteranopia (green-blind)
#8D8871
Tritanopia (blue-blind)
#8E8581
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8870;
/* rgb */ color: rgb(138, 136, 112);
/* oklch */ color: oklch(62.2% 0.035 103.4);
Tailwind
colors: {
  custom: {
    50: '#acaa99',
    500: '#8a8870',
    950: '#000000',
  },
}
SCSS
$custom: #8a8870;
$custom-light: #acaa99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8870",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 112
  },
  "hsl": {
    "h": 55.385,
    "s": 10.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.62176,
    "c": 0.03479,
    "h": 103.4
  },
  "luminance": 0.24181
}

Semantic roles & 50–950 ramp

primary
#8A8870
secondary
#A5A6B1
accent
#79B374
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100D
muted
#7F7F7E

Preview Lab

Preview with #8A8870

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

Preview Lab → · Contrast checker → · Palette generator →

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