#8A876A#8A876A

#8A876A is a mid, muted yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.042 H 102.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A876A
RGBrgb(138, 135, 106)
HSLhsl(54, 13%, 48%)
HSVhsv(54, 23%, 54%)
CMYKcmyk(0%, 2.2%, 23.2%, 45.9%)
CIE-LABlab(55.86, -3.92, 16.04)
CIE-LCHlch(55.86, 16.51, 103.75°)
OKLaboklab(61.81% -0.0091 0.0408)
OKLCHoklch(61.81% 0.042 102.6)
XYZxyz(21.7467, 23.7722, 17.0758)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A876A #6A6D8A
analogous
#8A776A #8A876A #7D8A6A
triadic
#8A876A #6A8A87 #876A8A
tetradic
#8A876A #6A8A77 #6A6D8A #8A6A7D
square
#8A876A #6A8A77 #6A6D8A #8A6A7D
split-complementary
#8A876A #6A7D8A #776A8A
monochromatic
#454335 #67654F #8A876A #A6A48B #C1BFAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A876A#FFFFFF#000000##000000
##8A876A1.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)
#8C8568
Deuteranopia (green-blind)
#8E876B
Tritanopia (blue-blind)
#8F837F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a876a;
/* rgb */ color: rgb(138, 135, 106);
/* oklch */ color: oklch(61.8% 0.042 102.6);
Tailwind
colors: {
  custom: {
    50: '#aca994',
    500: '#8a876a',
    950: '#000000',
  },
}
SCSS
$custom: #8a876a;
$custom-light: #aca994;
$custom-dark: #000000;
JSON
{
  "hex": "#8a876a",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 106
  },
  "hsl": {
    "h": 54.375,
    "s": 13.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.61809,
    "c": 0.04184,
    "h": 102.6
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#8A876A
secondary
#A0A1B0
accent
#78B672
background
#FAFAF9
surface
#F4F4F1
border
#CECECB
text
#10100D
muted
#7F7F7E

Preview Lab

Preview with #8A876A

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

Preview Lab → · Contrast checker → · Palette generator →

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