#8A866D#8A866D

#8A866D is a mid, muted yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.036 H 99.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A866D
RGBrgb(138, 134, 109)
HSLhsl(52, 12%, 48%)
HSVhsv(52, 21%, 54%)
CMYKcmyk(0%, 2.9%, 21%, 45.9%)
CIE-LABlab(55.64, -2.90, 14.03)
CIE-LCHlch(55.64, 14.33, 101.67°)
OKLaboklab(61.66% -0.0062 0.0359)
OKLCHoklch(61.66% 0.036 99.8)
XYZxyz(21.7666, 23.5579, 17.8655)
Luminance0.2356 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A866D #6D718A
analogous
#8A776D #8A866D #7F8A6D
triadic
#8A866D #6D8A86 #866D8A
tetradic
#8A866D #6D8A77 #6D718A #8A6D7F
square
#8A866D #6D8A77 #6D718A #8A6D7F
split-complementary
#8A866D #6D7F8A #776D8A
monochromatic
#464437 #686552 #8A866D #A6A38E #C1BFB0

Accessibility & contrast

On white

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

On black

5.71
#8A866D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A866D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A866D#FFFFFF#000000##000000
##8A866D1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B846B
Deuteranopia (green-blind)
#8C866E
Tritanopia (blue-blind)
#8F827F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a866d;
/* rgb */ color: rgb(138, 134, 109);
/* oklch */ color: oklch(61.7% 0.036 99.8);
Tailwind
colors: {
  custom: {
    50: '#aca997',
    500: '#8a866d',
    950: '#000000',
  },
}
SCSS
$custom: #8a866d;
$custom-light: #aca997;
$custom-dark: #000000;
JSON
{
  "hex": "#8a866d",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 109
  },
  "hsl": {
    "h": 51.724,
    "s": 11.741,
    "l": 48.431
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.03644,
    "h": 99.8
  },
  "luminance": 0.23558
}

Semantic roles & 50–950 ramp

primary
#8A866D
secondary
#A2A4B0
accent
#7CB573
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0D
muted
#7F7F7E

Preview Lab

Preview with #8A866D

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

Preview Lab → · Contrast checker → · Palette generator →

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