#A8A896#A8A896

#A8A896 is a light, muted yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.025 H 107.0°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#A8A896
RGBrgb(168, 168, 150)
HSLhsl(60, 9%, 62%)
HSVhsv(60, 11%, 66%)
CMYKcmyk(0%, 0%, 10.7%, 34.1%)
CIE-LABlab(68.41, -3.24, 9.31)
CIE-LCHlch(68.41, 9.86, 109.16°)
OKLaboklab(72.65% -0.0074 0.0242)
OKLCHoklch(72.65% 0.025 107)
XYZxyz(35.6555, 38.5323, 34.4074)
Luminance0.3853 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A896 #9696A8
analogous
#A89F96 #A8A896 #9FA896
triadic
#A8A896 #96A8A8 #A896A8
tetradic
#A8A896 #96A89F #9696A8 #A8969F
square
#A8A896 #96A89F #9696A8 #A8969F
split-complementary
#A8A896 #969FA8 #9F96A8
monochromatic
#6B6B59 #8C8C75 #A8A896 #C4C4B7 #DFDFD9

Accessibility & contrast

On white

2.41
#A8A896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#A8A896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A896
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A896#FFFFFF#000000##000000
##A8A8961.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA695
Deuteranopia (green-blind)
#ACA797
Tritanopia (blue-blind)
#ABA6A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a8a896;
/* rgb */ color: rgb(168, 168, 150);
/* oklch */ color: oklch(72.7% 0.025 107.0);
Tailwind
colors: {
  custom: {
    50: '#c1c1b4',
    500: '#a8a896',
    950: '#000000',
  },
}
SCSS
$custom: #a8a896;
$custom-light: #c1c1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a896",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 9.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.72652,
    "c": 0.02532,
    "h": 107
  },
  "luminance": 0.38532
}

Semantic roles & 50–950 ramp

primary
#A8A896
secondary
#CACAD0
accent
#529352
background
#FBFBFB
surface
#F7F7F6
border
#D0D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #A8A896

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

Preview Lab → · Contrast checker → · Palette generator →

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