#A8A287#A8A287

#A8A287 is a light, muted yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.038 H 96.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A8A287
RGBrgb(168, 162, 135)
HSLhsl(49, 16%, 59%)
HSVhsv(49, 20%, 66%)
CMYKcmyk(0%, 3.6%, 19.6%, 34.1%)
CIE-LABlab(66.46, -2.43, 14.85)
CIE-LCHlch(66.46, 15.05, 99.28°)
OKLaboklab(71% -0.0046 0.0381)
OKLCHoklch(71% 0.038 96.9)
XYZxyz(33.4418, 35.9153, 28.0876)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A287 #878DA8
analogous
#A89287 #A8A287 #9EA887
triadic
#A8A287 #87A8A2 #A287A8
tetradic
#A8A287 #87A892 #878DA8 #A8879E
square
#A8A287 #87A892 #878DA8 #A8879E
split-complementary
#A8A287 #879EA8 #9287A8
monochromatic
#69634C #8C8566 #A8A287 #C2BDAA #DBD9CE

Accessibility & contrast

On white

2.57
#A8A287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A8A287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A287
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A287#FFFFFF#000000##000000
##A8A2871.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A085
Deuteranopia (green-blind)
#AAA388
Tritanopia (blue-blind)
#AE9E9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a287;
/* rgb */ color: rgb(168, 162, 135);
/* oklch */ color: oklch(71.0% 0.038 96.9);
Tailwind
colors: {
  custom: {
    50: '#c2bdaa',
    500: '#a8a287',
    950: '#000000',
  },
}
SCSS
$custom: #a8a287;
$custom-light: #c2bdaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a287",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 135
  },
  "hsl": {
    "h": 49.091,
    "s": 15.942,
    "l": 59.412
  },
  "oklch": {
    "l": 0.70998,
    "c": 0.03841,
    "h": 96.9
  },
  "luminance": 0.35915
}

Semantic roles & 50–950 ramp

primary
#A8A287
secondary
#BFC1CC
accent
#7CB96F
background
#FBFBFA
surface
#F7F6F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8A287

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

Preview Lab → · Contrast checker → · Palette generator →

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