#8A866E#8A866E

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

Color values

HEX#8A866E
RGBrgb(138, 134, 110)
HSLhsl(51, 11%, 49%)
HSVhsv(51, 20%, 54%)
CMYKcmyk(0%, 2.9%, 20.3%, 45.9%)
CIE-LABlab(55.66, -2.74, 13.49)
CIE-LCHlch(55.66, 13.76, 101.48°)
OKLaboklab(61.68% -0.0058 0.0346)
OKLCHoklch(61.68% 0.035 99.5)
XYZxyz(21.8207, 23.5796, 18.1506)
Luminance0.2358 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A866E #6E728A
analogous
#8A786E #8A866E #808A6E
triadic
#8A866E #6E8A86 #866E8A
tetradic
#8A866E #6E8A78 #6E728A #8A6E80
square
#8A866E #6E8A78 #6E728A #8A6E80
split-complementary
#8A866E #6E808A #786E8A
monochromatic
#464438 #686553 #8A866E #A6A38F #C1BFB1

Accessibility & contrast

On white

3.67
#8A866E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A866E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A866E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A866E#FFFFFF#000000##000000
##8A866E1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a866e;
/* rgb */ color: rgb(138, 134, 110);
/* oklch */ color: oklch(61.7% 0.035 99.5);
Tailwind
colors: {
  custom: {
    50: '#aca997',
    500: '#8a866e',
    950: '#000000',
  },
}
SCSS
$custom: #8a866e;
$custom-light: #aca997;
$custom-dark: #000000;
JSON
{
  "hex": "#8a866e",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 110
  },
  "hsl": {
    "h": 51.429,
    "s": 11.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.61684,
    "c": 0.03506,
    "h": 99.5
  },
  "luminance": 0.23579
}

Semantic roles & 50–950 ramp

primary
#8A866E
secondary
#A3A5B1
accent
#7DB474
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0D
muted
#7F7F7E

Preview Lab

Preview with #8A866E

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

Preview Lab → · Contrast checker → · Palette generator →

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