#A8A87D#A8A87D

#A8A87D is a light, muted yellow. Relative luminance 0.378; OKLCH L 72.1% C 0.059 H 107.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#A8A87D
RGBrgb(168, 168, 125)
HSLhsl(60, 20%, 57%)
HSVhsv(60, 26%, 66%)
CMYKcmyk(0%, 0%, 25.6%, 34.1%)
CIE-LABlab(67.88, -7.13, 22.30)
CIE-LCHlch(67.88, 23.41, 107.74°)
OKLaboklab(72.06% -0.018 0.0562)
OKLCHoklch(72.06% 0.059 107.8)
XYZxyz(33.8527, 37.8112, 24.9130)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A87D #7D7DA8
analogous
#A8937D #A8A87D #93A87D
triadic
#A8A87D #7DA8A8 #A87DA8
tetradic
#A8A87D #7DA893 #7D7DA8 #A87D93
square
#A8A87D #7DA893 #7D7DA8 #A87D93
split-complementary
#A8A87D #7D93A8 #937DA8
monochromatic
#666644 #8B8B5D #A8A87D #C1C1A2 #D9D9C6

Accessibility & contrast

On white

2.45
#A8A87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#A8A87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A87D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A87D#FFFFFF#000000##000000
##A8A87D1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA47A
Deuteranopia (green-blind)
#B0A67F
Tritanopia (blue-blind)
#AEA39D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a8a87d;
/* rgb */ color: rgb(168, 168, 125);
/* oklch */ color: oklch(72.1% 0.059 107.8);
Tailwind
colors: {
  custom: {
    50: '#c2c1a3',
    500: '#a8a87d',
    950: '#000000',
  },
}
SCSS
$custom: #a8a87d;
$custom-light: #c2c1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a87d",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 19.816,
    "l": 57.451
  },
  "oklch": {
    "l": 0.72059,
    "c": 0.05907,
    "h": 107.8
  },
  "luminance": 0.37811
}

Semantic roles & 50–950 ramp

primary
#A8A87D
secondary
#B8B8C9
accent
#6BBC6B
background
#FBFBFA
surface
#F7F7F3
border
#D0D0CD
text
#12120F
muted
#81817F

Preview Lab

Preview with #A8A87D

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

Preview Lab → · Contrast checker → · Palette generator →

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