#A8A795#A8A795

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

Color values

HEX#A8A795
RGBrgb(168, 167, 149)
HSLhsl(57, 10%, 62%)
HSVhsv(57, 11%, 66%)
CMYKcmyk(0%, 0.6%, 11.3%, 34.1%)
CIE-LABlab(68.12, -2.86, 9.45)
CIE-LCHlch(68.12, 9.87, 106.87°)
OKLaboklab(72.41% -0.0063 0.0246)
OKLCHoklch(72.41% 0.025 104.4)
XYZxyz(35.3914, 38.1324, 33.9238)
Luminance0.3813 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A795 #9596A8
analogous
#A89E95 #A8A795 #A0A895
triadic
#A8A795 #95A8A7 #A795A8
tetradic
#A8A795 #95A89E #9596A8 #A895A0
square
#A8A795 #95A89E #9596A8 #A895A0
split-complementary
#A8A795 #95A0A8 #9E95A8
monochromatic
#6B6A58 #8C8B73 #A8A795 #C4C3B7 #DFDFD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A795#FFFFFF#000000##000000
##A8A7951.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)
#ABA594
Deuteranopia (green-blind)
#ABA696
Tritanopia (blue-blind)
#ABA4A2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8a795;
/* rgb */ color: rgb(168, 167, 149);
/* oklch */ color: oklch(72.4% 0.025 104.4);
Tailwind
colors: {
  custom: {
    50: '#c2c1b4',
    500: '#a8a795',
    950: '#000000',
  },
}
SCSS
$custom: #a8a795;
$custom-light: #c2c1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a795",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 149
  },
  "hsl": {
    "h": 56.842,
    "s": 9.845,
    "l": 62.157
  },
  "oklch": {
    "l": 0.72413,
    "c": 0.02536,
    "h": 104.4
  },
  "luminance": 0.38132
}

Semantic roles & 50–950 ramp

primary
#A8A795
secondary
#C9C9D0
accent
#559452
background
#FBFBFB
surface
#F7F7F6
border
#D0D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #A8A795

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

Preview Lab → · Contrast checker → · Palette generator →

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