#A8A786#A8A786

#A8A786 is a light, muted yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.046 H 106.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#A8A786
RGBrgb(168, 167, 134)
HSLhsl(58, 16%, 59%)
HSVhsv(58, 20%, 66%)
CMYKcmyk(0%, 0.6%, 20.2%, 34.1%)
CIE-LABlab(67.79, -5.28, 17.25)
CIE-LCHlch(67.79, 18.04, 107.01°)
OKLaboklab(72.04% -0.0127 0.0441)
OKLCHoklch(72.04% 0.046 106.1)
XYZxyz(34.2700, 37.6839, 28.0180)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A786 #8687A8
analogous
#A89686 #A8A786 #98A886
triadic
#A8A786 #86A8A7 #A786A8
tetradic
#A8A786 #86A896 #8687A8 #A88698
square
#A8A786 #86A896 #8687A8 #A88698
split-complementary
#A8A786 #8698A8 #9686A8
monochromatic
#68684B #8C8B65 #A8A786 #C2C1AA #DBDBCD

Accessibility & contrast

On white

2.46
#A8A786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#A8A786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A786
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A786#FFFFFF#000000##000000
##A8A7861.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA484
Deuteranopia (green-blind)
#AEA687
Tritanopia (blue-blind)
#ADA39E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8a786;
/* rgb */ color: rgb(168, 167, 134);
/* oklch */ color: oklch(72.0% 0.046 106.1);
Tailwind
colors: {
  custom: {
    50: '#c2c1a9',
    500: '#a8a786',
    950: '#000000',
  },
}
SCSS
$custom: #a8a786;
$custom-light: #c2c1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a786",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 134
  },
  "hsl": {
    "h": 58.235,
    "s": 16.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.72043,
    "c": 0.04585,
    "h": 106.1
  },
  "luminance": 0.37683
}

Semantic roles & 50–950 ramp

primary
#A8A786
secondary
#BEBFCC
accent
#71B96F
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8A786

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

Preview Lab → · Contrast checker → · Palette generator →

#A8A786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva