#A8A796#A8A796

#A8A796 is a light, muted yellow. Relative luminance 0.382; OKLCH L 72.4% C 0.024 H 104.2°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#A8A796
RGBrgb(168, 167, 150)
HSLhsl(57, 9%, 62%)
HSVhsv(57, 11%, 66%)
CMYKcmyk(0%, 0.6%, 10.7%, 34.1%)
CIE-LABlab(68.14, -2.69, 8.93)
CIE-LCHlch(68.14, 9.32, 106.80°)
OKLaboklab(72.44% -0.0059 0.0232)
OKLCHoklch(72.44% 0.024 104.2)
XYZxyz(35.4716, 38.1645, 34.3461)
Luminance0.3816 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A796 #9697A8
analogous
#A89E96 #A8A796 #A0A896
triadic
#A8A796 #96A8A7 #A796A8
tetradic
#A8A796 #96A89E #9697A8 #A896A0
square
#A8A796 #96A89E #9697A8 #A896A0
split-complementary
#A8A796 #96A0A8 #9E96A8
monochromatic
#6B6A59 #8C8B75 #A8A796 #C4C3B7 #DFDFD9

Accessibility & contrast

On white

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

On black

8.63
#A8A796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A796
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A796#FFFFFF#000000##000000
##A8A7961.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA695
Deuteranopia (green-blind)
#ABA797
Tritanopia (blue-blind)
#ABA5A2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8a796;
/* rgb */ color: rgb(168, 167, 150);
/* oklch */ color: oklch(72.4% 0.024 104.2);
Tailwind
colors: {
  custom: {
    50: '#c1c1b4',
    500: '#a8a796',
    950: '#000000',
  },
}
SCSS
$custom: #a8a796;
$custom-light: #c1c1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a796",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 150
  },
  "hsl": {
    "h": 56.667,
    "s": 9.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.7244,
    "c": 0.02397,
    "h": 104.2
  },
  "luminance": 0.38164
}

Semantic roles & 50–950 ramp

primary
#A8A796
secondary
#CACAD0
accent
#569352
background
#FBFBFB
surface
#F7F7F6
border
#D0D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #A8A796

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

Preview Lab → · Contrast checker → · Palette generator →

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