#A8A487#A8A487

#A8A487 is a light, muted yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.041 H 100.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A8A487
RGBrgb(168, 164, 135)
HSLhsl(53, 16%, 59%)
HSVhsv(53, 20%, 66%)
CMYKcmyk(0%, 2.4%, 19.6%, 34.1%)
CIE-LABlab(67.00, -3.51, 15.60)
CIE-LCHlch(67.00, 15.99, 102.68°)
OKLaboklab(71.42% -0.0077 0.04)
OKLCHoklch(71.42% 0.041 100.9)
XYZxyz(33.7969, 36.6255, 28.2060)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A487 #878BA8
analogous
#A89487 #A8A487 #9CA887
triadic
#A8A487 #87A8A4 #A487A8
tetradic
#A8A487 #87A894 #878BA8 #A8879C
square
#A8A487 #87A894 #878BA8 #A8879C
split-complementary
#A8A487 #879CA8 #9487A8
monochromatic
#69654C #8C8866 #A8A487 #C2BFAA #DBDACE

Accessibility & contrast

On white

2.52
#A8A487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A8A487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A487
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A487#FFFFFF#000000##000000
##A8A4871.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA285
Deuteranopia (green-blind)
#ABA488
Tritanopia (blue-blind)
#ADA09C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a487;
/* rgb */ color: rgb(168, 164, 135);
/* oklch */ color: oklch(71.4% 0.041 100.9);
Tailwind
colors: {
  custom: {
    50: '#c2beaa',
    500: '#a8a487',
    950: '#000000',
  },
}
SCSS
$custom: #a8a487;
$custom-light: #c2beaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a487",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 135
  },
  "hsl": {
    "h": 52.727,
    "s": 15.942,
    "l": 59.412
  },
  "oklch": {
    "l": 0.71424,
    "c": 0.04073,
    "h": 100.9
  },
  "luminance": 0.36625
}

Semantic roles & 50–950 ramp

primary
#A8A487
secondary
#BFC1CC
accent
#78B96F
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8A487

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

Preview Lab → · Contrast checker → · Palette generator →

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