#A8AA8A#A8AA8A

#A8AA8A is a light, muted yellow. Relative luminance 0.389; OKLCH L 72.8% C 0.045 H 110.4°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A8AA8A
RGBrgb(168, 170, 138)
HSLhsl(64, 16%, 60%)
HSVhsv(64, 19%, 67%)
CMYKcmyk(1.2%, 0%, 18.8%, 33.3%)
CIE-LABlab(68.69, -6.27, 16.30)
CIE-LCHlch(68.69, 17.47, 111.03°)
OKLaboklab(72.78% -0.0155 0.0418)
OKLCHoklch(72.78% 0.045 110.4)
XYZxyz(35.1103, 38.9096, 29.7005)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AA8A #8C8AAA
analogous
#AA9C8A #A8AA8A #98AA8A
triadic
#A8AA8A #8AA8AA #AA8AA8
tetradic
#A8AA8A #8AAA9C #8C8AAA #AA8A98
square
#A8AA8A #8AAA9C #8C8AAA #AA8A98
split-complementary
#A8AA8A #8A98AA #9C8AAA
monochromatic
#6A6C4E #8D8F68 #A8AA8A #C2C4AD #DDDED1

Accessibility & contrast

On white

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

On black

8.78
#A8AA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AA8A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AA8A#FFFFFF#000000##000000
##A8AA8A1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA788
Deuteranopia (green-blind)
#B0A88B
Tritanopia (blue-blind)
#ADA6A1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8aa8a;
/* rgb */ color: rgb(168, 170, 138);
/* oklch */ color: oklch(72.8% 0.045 110.4);
Tailwind
colors: {
  custom: {
    50: '#c2c3ac',
    500: '#a8aa8a',
    950: '#000000',
  },
}
SCSS
$custom: #a8aa8a;
$custom-light: #c2c3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a8aa8a",
  "rgb": {
    "r": 168,
    "g": 170,
    "b": 138
  },
  "hsl": {
    "h": 63.75,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.72781,
    "c": 0.04454,
    "h": 110.4
  },
  "luminance": 0.38909
}

Semantic roles & 50–950 ramp

primary
#A8AA8A
secondary
#C3C2CE
accent
#4B9A50
background
#FBFBFA
surface
#F7F7F4
border
#D0D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #A8AA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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