#A8A799#A8A799

#A8A799 is a light, near-neutral grey. Relative luminance 0.383; OKLCH L 72.5% C 0.020 H 103.6°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#A8A799
RGBrgb(168, 167, 153)
HSLhsl(56, 8%, 63%)
HSVhsv(56, 9%, 66%)
CMYKcmyk(0%, 0.6%, 8.9%, 34.1%)
CIE-LABlab(68.21, -2.18, 7.37)
CIE-LCHlch(68.21, 7.68, 106.47°)
OKLaboklab(72.52% -0.0046 0.0193)
OKLCHoklch(72.52% 0.02 103.6)
XYZxyz(35.7162, 38.2624, 35.6346)
Luminance0.3826 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A799 #999AA8
analogous
#A89F99 #A8A799 #A1A899
triadic
#A8A799 #99A8A7 #A799A8
tetradic
#A8A799 #99A89F #999AA8 #A899A1
square
#A8A799 #99A89F #999AA8 #A899A1
split-complementary
#A8A799 #99A1A8 #9F99A8
monochromatic
#6B6A5B #8C8B78 #A8A799 #C4C3BA #E0E0DB

Accessibility & contrast

On white

2.43
#A8A799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#A8A799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A799
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A799#FFFFFF#000000##000000
##A8A7991.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA698
Deuteranopia (green-blind)
#AAA799
Tritanopia (blue-blind)
#ABA5A3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8a799;
/* rgb */ color: rgb(168, 167, 153);
/* oklch */ color: oklch(72.5% 0.020 103.6);
Tailwind
colors: {
  custom: {
    50: '#c1c1b7',
    500: '#a8a799',
    950: '#000000',
  },
}
SCSS
$custom: #a8a799;
$custom-light: #c1c1b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a799",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 153
  },
  "hsl": {
    "h": 56,
    "s": 7.937,
    "l": 62.941
  },
  "oklch": {
    "l": 0.7252,
    "c": 0.0198,
    "h": 103.6
  },
  "luminance": 0.38262
}

Semantic roles & 50–950 ramp

primary
#A8A799
secondary
#CCCCD1
accent
#589254
background
#FBFBFB
surface
#F7F7F6
border
#D0D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #A8A799

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

Preview Lab → · Contrast checker → · Palette generator →

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