#A8A997#A8A997

#A8A997 is a light, muted yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.025 H 109.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#A8A997
RGBrgb(168, 169, 151)
HSLhsl(63, 9%, 63%)
HSVhsv(63, 11%, 66%)
CMYKcmyk(0.6%, 0%, 10.7%, 33.7%)
CIE-LABlab(68.70, -3.60, 9.18)
CIE-LCHlch(68.70, 9.86, 111.44°)
OKLaboklab(72.89% -0.0085 0.0239)
OKLCHoklch(72.89% 0.025 109.6)
XYZxyz(35.9217, 38.9353, 34.8950)
Luminance0.3893 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A997 #9897A9
analogous
#A9A197 #A8A997 #9FA997
triadic
#A8A997 #97A8A9 #A997A8
tetradic
#A8A997 #97A9A1 #9897A9 #A9979F
square
#A8A997 #97A9A1 #9897A9 #A9979F
split-complementary
#A8A997 #979FA9 #A197A9
monochromatic
#6B6C59 #8C8D76 #A8A997 #C4C5B8 #E0E0DA

Accessibility & contrast

On white

2.39
#A8A997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#A8A997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A997
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A997#FFFFFF#000000##000000
##A8A9971.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA796
Deuteranopia (green-blind)
#ACA898
Tritanopia (blue-blind)
#ABA7A4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8a997;
/* rgb */ color: rgb(168, 169, 151);
/* oklch */ color: oklch(72.9% 0.025 109.6);
Tailwind
colors: {
  custom: {
    50: '#c1c2b5',
    500: '#a8a997',
    950: '#000000',
  },
}
SCSS
$custom: #a8a997;
$custom-light: #c1c2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a997",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 151
  },
  "hsl": {
    "h": 63.333,
    "s": 9.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.72891,
    "c": 0.02534,
    "h": 109.6
  },
  "luminance": 0.38935
}

Semantic roles & 50–950 ramp

primary
#A8A997
secondary
#CBCBD1
accent
#529356
background
#FBFBFB
surface
#F7F7F6
border
#D0D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #A8A997

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

Preview Lab → · Contrast checker → · Palette generator →

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