#A8A587#A8A587

#A8A587 is a light, muted yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.042 H 102.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A8A587
RGBrgb(168, 165, 135)
HSLhsl(55, 16%, 59%)
HSVhsv(55, 20%, 66%)
CMYKcmyk(0%, 1.8%, 19.6%, 34.1%)
CIE-LABlab(67.27, -4.05, 15.98)
CIE-LCHlch(67.27, 16.48, 104.22°)
OKLaboklab(71.64% -0.0092 0.0409)
OKLCHoklch(71.64% 0.042 102.7)
XYZxyz(33.9766, 36.9848, 28.2659)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A587 #878AA8
analogous
#A89587 #A8A587 #9BA887
triadic
#A8A587 #87A8A5 #A587A8
tetradic
#A8A587 #87A895 #878AA8 #A8879B
square
#A8A587 #87A895 #878AA8 #A8879B
split-complementary
#A8A587 #879BA8 #9587A8
monochromatic
#69664C #8C8966 #A8A587 #C2C0AA #DBDACE

Accessibility & contrast

On white

2.50
#A8A587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#A8A587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A587
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A587#FFFFFF#000000##000000
##A8A5871.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA385
Deuteranopia (green-blind)
#ACA588
Tritanopia (blue-blind)
#ADA19D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a587;
/* rgb */ color: rgb(168, 165, 135);
/* oklch */ color: oklch(71.6% 0.042 102.7);
Tailwind
colors: {
  custom: {
    50: '#c2bfaa',
    500: '#a8a587',
    950: '#000000',
  },
}
SCSS
$custom: #a8a587;
$custom-light: #c2bfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a587",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 135
  },
  "hsl": {
    "h": 54.545,
    "s": 15.942,
    "l": 59.412
  },
  "oklch": {
    "l": 0.71638,
    "c": 0.04195,
    "h": 102.7
  },
  "luminance": 0.36984
}

Semantic roles & 50–950 ramp

primary
#A8A587
secondary
#BFC0CC
accent
#76B96F
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8A587

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

Preview Lab → · Contrast checker → · Palette generator →

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