#8A866C#8A866C

#8A866C is a mid, muted yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.038 H 100.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A866C
RGBrgb(138, 134, 108)
HSLhsl(52, 12%, 48%)
HSVhsv(52, 22%, 54%)
CMYKcmyk(0%, 2.9%, 21.7%, 45.9%)
CIE-LABlab(55.62, -3.06, 14.57)
CIE-LCHlch(55.62, 14.89, 101.84°)
OKLaboklab(61.64% -0.0067 0.0372)
OKLCHoklch(61.64% 0.038 100.2)
XYZxyz(21.7130, 23.5365, 17.5836)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A866C #6C708A
analogous
#8A776C #8A866C #7F8A6C
triadic
#8A866C #6C8A86 #866C8A
tetradic
#8A866C #6C8A77 #6C708A #8A6C7F
square
#8A866C #6C8A77 #6C708A #8A6C7F
split-complementary
#8A866C #6C7F8A #776C8A
monochromatic
#454336 #686551 #8A866C #A6A38D #C1BFB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A866C#FFFFFF#000000##000000
##8A866C1.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)
#8B846A
Deuteranopia (green-blind)
#8D866D
Tritanopia (blue-blind)
#8F827F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a866c;
/* rgb */ color: rgb(138, 134, 108);
/* oklch */ color: oklch(61.6% 0.038 100.2);
Tailwind
colors: {
  custom: {
    50: '#aca996',
    500: '#8a866c',
    950: '#000000',
  },
}
SCSS
$custom: #8a866c;
$custom-light: #aca996;
$custom-dark: #000000;
JSON
{
  "hex": "#8a866c",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 108
  },
  "hsl": {
    "h": 52,
    "s": 12.195,
    "l": 48.235
  },
  "oklch": {
    "l": 0.61635,
    "c": 0.03783,
    "h": 100.2
  },
  "luminance": 0.23536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A866C

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

Preview Lab → · Contrast checker → · Palette generator →

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