#8A866A#8A866A

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

Color values

HEX#8A866A
RGBrgb(138, 134, 106)
HSLhsl(53, 13%, 48%)
HSVhsv(53, 23%, 54%)
CMYKcmyk(0%, 2.9%, 23.2%, 45.9%)
CIE-LABlab(55.58, -3.37, 15.65)
CIE-LCHlch(55.58, 16.01, 102.14°)
OKLaboklab(61.59% -0.0075 0.0399)
OKLCHoklch(61.59% 0.041 100.7)
XYZxyz(21.6078, 23.4944, 17.0295)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A866A #6A6E8A
analogous
#8A766A #8A866A #7E8A6A
triadic
#8A866A #6A8A86 #866A8A
tetradic
#8A866A #6A8A76 #6A6E8A #8A6A7E
square
#8A866A #6A8A76 #6A6E8A #8A6A7E
split-complementary
#8A866A #6A7E8A #766A8A
monochromatic
#454335 #67644F #8A866A #A6A38B #C1BEAE

Accessibility & contrast

On white

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

On black

5.70
#8A866A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A866A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A866A#FFFFFF#000000##000000
##8A866A1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8468
Deuteranopia (green-blind)
#8D866B
Tritanopia (blue-blind)
#8F827E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a866a;
/* rgb */ color: rgb(138, 134, 106);
/* oklch */ color: oklch(61.6% 0.041 100.7);
Tailwind
colors: {
  custom: {
    50: '#aca994',
    500: '#8a866a',
    950: '#000000',
  },
}
SCSS
$custom: #8a866a;
$custom-light: #aca994;
$custom-dark: #000000;
JSON
{
  "hex": "#8a866a",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 106
  },
  "hsl": {
    "h": 52.5,
    "s": 13.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.61587,
    "c": 0.04059,
    "h": 100.7
  },
  "luminance": 0.23494
}

Semantic roles & 50–950 ramp

primary
#8A866A
secondary
#A0A2B0
accent
#7AB672
background
#FAFAF9
surface
#F4F4F1
border
#CECECB
text
#100F0D
muted
#7F7F7E

Preview Lab

Preview with #8A866A

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

Preview Lab → · Contrast checker → · Palette generator →

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