#8A8166#8A8166

#8A8166 is a mid, muted yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.040 H 91.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A8166
RGBrgb(138, 129, 102)
HSLhsl(45, 15%, 47%)
HSVhsv(45, 26%, 54%)
CMYKcmyk(0%, 6.5%, 26.1%, 45.9%)
CIE-LABlab(54.09, -1.16, 15.90)
CIE-LCHlch(54.09, 15.94, 94.18°)
OKLaboklab(60.39% -0.0013 0.0404)
OKLCHoklch(60.39% 0.04 91.8)
XYZxyz(20.7298, 22.0636, 15.7345)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8166 #666F8A
analogous
#8A6F66 #8A8166 #818A66
triadic
#8A8166 #668A81 #81668A
tetradic
#8A8166 #668A6F #666F8A #8A6681
square
#8A8166 #668A6F #666F8A #8A6681
split-complementary
#8A8166 #66818A #6F668A
monochromatic
#443F32 #67604C #8A8166 #A69E87 #C0BBAA

Accessibility & contrast

On white

3.88
#8A8166 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A8166 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8166
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8166#FFFFFF#000000##000000
##8A81661.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#878064
Deuteranopia (green-blind)
#898367
Tritanopia (blue-blind)
#907D7A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8166;
/* rgb */ color: rgb(138, 129, 102);
/* oklch */ color: oklch(60.4% 0.040 91.8);
Tailwind
colors: {
  custom: {
    50: '#aca591',
    500: '#8a8166',
    950: '#000000',
  },
}
SCSS
$custom: #8a8166;
$custom-light: #aca591;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8166",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 102
  },
  "hsl": {
    "h": 45,
    "s": 15,
    "l": 47.059
  },
  "oklch": {
    "l": 0.60389,
    "c": 0.04046,
    "h": 91.8
  },
  "luminance": 0.22063
}

Semantic roles & 50–950 ramp

primary
#8A8166
secondary
#9DA1AF
accent
#82B870
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0D
muted
#7F7F7D

Preview Lab

Preview with #8A8166

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

Preview Lab → · Contrast checker → · Palette generator →

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