#8A866F#8A866F

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

Color values

HEX#8A866F
RGBrgb(138, 134, 111)
HSLhsl(51, 11%, 49%)
HSVhsv(51, 20%, 54%)
CMYKcmyk(0%, 2.9%, 19.6%, 45.9%)
CIE-LABlab(55.69, -2.58, 12.95)
CIE-LCHlch(55.69, 13.20, 101.27°)
OKLaboklab(61.71% -0.0053 0.0332)
OKLCHoklch(61.71% 0.034 99.1)
XYZxyz(21.8754, 23.6015, 18.4390)
Luminance0.2360 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A866F #6F738A
analogous
#8A796F #8A866F #818A6F
triadic
#8A866F #6F8A86 #866F8A
tetradic
#8A866F #6F8A79 #6F738A #8A6F81
square
#8A866F #6F8A79 #6F738A #8A6F81
split-complementary
#8A866F #6F818A #796F8A
monochromatic
#464438 #686554 #8A866F #A6A390 #C1BFB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A866F#FFFFFF#000000##000000
##8A866F1.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)
#8B846E
Deuteranopia (green-blind)
#8C8670
Tritanopia (blue-blind)
#8E8380
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a866f;
/* rgb */ color: rgb(138, 134, 111);
/* oklch */ color: oklch(61.7% 0.034 99.1);
Tailwind
colors: {
  custom: {
    50: '#aca998',
    500: '#8a866f',
    950: '#000000',
  },
}
SCSS
$custom: #8a866f;
$custom-light: #aca998;
$custom-dark: #000000;
JSON
{
  "hex": "#8a866f",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 111
  },
  "hsl": {
    "h": 51.111,
    "s": 10.843,
    "l": 48.824
  },
  "oklch": {
    "l": 0.61708,
    "c": 0.03367,
    "h": 99.1
  },
  "luminance": 0.23601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A866F

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

Preview Lab → · Contrast checker → · Palette generator →

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