#A6AA8A#A6AA8A

#A6AA8A is a light, muted yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.045 H 113.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#A6AA8A
RGBrgb(166, 170, 138)
HSLhsl(68, 16%, 60%)
HSVhsv(68, 19%, 67%)
CMYKcmyk(2.4%, 0%, 18.8%, 33.3%)
CIE-LABlab(68.53, -7.03, 16.06)
CIE-LCHlch(68.53, 17.53, 113.64°)
OKLaboklab(72.62% -0.0177 0.0411)
OKLCHoklch(72.62% 0.045 113.3)
XYZxyz(34.6877, 38.6916, 29.6807)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AA8A #8E8AAA
analogous
#AA9E8A #A6AA8A #96AA8A
triadic
#A6AA8A #8AA6AA #AA8AA6
tetradic
#A6AA8A #8AAA9E #8E8AAA #AA8A96
square
#A6AA8A #8AAA9E #8E8AAA #AA8A96
split-complementary
#A6AA8A #8A96AA #9E8AAA
monochromatic
#686C4E #8A8F68 #A6AA8A #C1C4AD #DCDED1

Accessibility & contrast

On white

2.40
#A6AA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#A6AA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AA8A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AA8A#FFFFFF#000000##000000
##A6AA8A1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA788
Deuteranopia (green-blind)
#AFA88B
Tritanopia (blue-blind)
#AAA6A1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6aa8a;
/* rgb */ color: rgb(166, 170, 138);
/* oklch */ color: oklch(72.6% 0.045 113.3);
Tailwind
colors: {
  custom: {
    50: '#c0c3ac',
    500: '#a6aa8a',
    950: '#000000',
  },
}
SCSS
$custom: #a6aa8a;
$custom-light: #c0c3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a6aa8a",
  "rgb": {
    "r": 166,
    "g": 170,
    "b": 138
  },
  "hsl": {
    "h": 67.5,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.72617,
    "c": 0.04479,
    "h": 113.3
  },
  "luminance": 0.38691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6AA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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