#A8A498#A8A498

#A8A498 is a light, near-neutral yellow. Relative luminance 0.371; OKLCH L 71.9% C 0.018 H 91.6°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A8A498
RGBrgb(168, 164, 152)
HSLhsl(45, 8%, 63%)
HSVhsv(45, 10%, 66%)
CMYKcmyk(0%, 2.4%, 9.5%, 34.1%)
CIE-LABlab(67.38, -0.72, 6.74)
CIE-LCHlch(67.38, 6.77, 96.12°)
OKLaboklab(71.86% -0.0005 0.0176)
OKLCHoklch(71.86% 0.018 91.6)
XYZxyz(35.0908, 37.1430, 35.0204)
Luminance0.3714 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A498 #989CA8
analogous
#A89C98 #A8A498 #A4A898
triadic
#A8A498 #98A8A4 #A498A8
tetradic
#A8A498 #98A89C #989CA8 #A898A4
square
#A8A498 #98A89C #989CA8 #A898A4
split-complementary
#A8A498 #98A4A8 #9C98A8
monochromatic
#6B675A #8C8777 #A8A498 #C4C1B9 #E0DFDA

Accessibility & contrast

On white

2.49
#A8A498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#A8A498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A498
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A498#FFFFFF#000000##000000
##A8A4981.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A397
Deuteranopia (green-blind)
#A8A598
Tritanopia (blue-blind)
#ABA2A0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a498;
/* rgb */ color: rgb(168, 164, 152);
/* oklch */ color: oklch(71.9% 0.018 91.6);
Tailwind
colors: {
  custom: {
    50: '#c1beb6',
    500: '#a8a498',
    950: '#000000',
  },
}
SCSS
$custom: #a8a498;
$custom-light: #c1beb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a498",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 152
  },
  "hsl": {
    "h": 45,
    "s": 8.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.71859,
    "c": 0.01763,
    "h": 91.6
  },
  "luminance": 0.37143
}

Semantic roles & 50–950 ramp

primary
#A8A498
secondary
#CBCCD1
accent
#639253
background
#FBFBFB
surface
#F7F6F6
border
#D0D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #A8A498

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

Preview Lab → · Contrast checker → · Palette generator →

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