#8D866F#8D866F

#8D866F is a mid, muted yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.034 H 93.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8D866F
RGBrgb(141, 134, 111)
HSLhsl(46, 12%, 49%)
HSVhsv(46, 21%, 55%)
CMYKcmyk(0%, 5%, 21.3%, 44.7%)
CIE-LABlab(55.95, -1.38, 13.35)
CIE-LCHlch(55.95, 13.42, 95.88°)
OKLaboklab(61.98% -0.0018 0.0343)
OKLCHoklch(61.98% 0.034 93.1)
XYZxyz(22.3788, 23.8610, 18.4626)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D866F #6F768D
analogous
#8D776F #8D866F #858D6F
triadic
#8D866F #6F8D86 #866F8D
tetradic
#8D866F #6F8D77 #6F768D #8D6F85
square
#8D866F #6F8D77 #6F768D #8D6F85
split-complementary
#8D866F #6F858D #776F8D
monochromatic
#494539 #6B6554 #8D866F #A8A391 #C3C0B3

Accessibility & contrast

On white

3.64
#8D866F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8D866F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D866F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D866F#FFFFFF#000000##000000
##8D866F1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B856E
Deuteranopia (green-blind)
#8D8770
Tritanopia (blue-blind)
#928280
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d866f;
/* rgb */ color: rgb(141, 134, 111);
/* oklch */ color: oklch(62.0% 0.034 93.1);
Tailwind
colors: {
  custom: {
    50: '#aea998',
    500: '#8d866f',
    950: '#000000',
  },
}
SCSS
$custom: #8d866f;
$custom-light: #aea998;
$custom-dark: #000000;
JSON
{
  "hex": "#8d866f",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 111
  },
  "hsl": {
    "h": 46,
    "s": 11.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.61978,
    "c": 0.0343,
    "h": 93.1
  },
  "luminance": 0.23861
}

Semantic roles & 50–950 ramp

primary
#8D866F
secondary
#A5A8B3
accent
#82B573
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0D
muted
#7F7F7E

Preview Lab

Preview with #8D866F

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

Preview Lab → · Contrast checker → · Palette generator →

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