#A4A797#A4A797

#A4A797 is a light, muted yellow-green. Relative luminance 0.378; OKLCH L 72.1% C 0.023 H 115.6°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#A4A797
RGBrgb(164, 167, 151)
HSLhsl(71, 8%, 62%)
HSVhsv(71, 10%, 65%)
CMYKcmyk(1.8%, 0%, 9.6%, 34.5%)
CIE-LABlab(67.85, -4.01, 7.91)
CIE-LCHlch(67.85, 8.87, 116.86°)
OKLaboklab(72.14% -0.0099 0.0206)
OKLCHoklch(72.14% 0.023 115.6)
XYZxyz(34.7137, 37.7644, 34.7326)
Luminance0.3776 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A797 #9A97A7
analogous
#A7A297 #A4A797 #9CA797
triadic
#A4A797 #97A4A7 #A797A4
tetradic
#A4A797 #97A7A2 #9A97A7 #A7979C
square
#A4A797 #97A7A2 #9A97A7 #A7979C
split-complementary
#A4A797 #979CA7 #A297A7
monochromatic
#676A5A #878B76 #A4A797 #C1C3B8 #DEDFD9

Accessibility & contrast

On white

2.46
#A4A797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#A4A797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A797
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A797#FFFFFF#000000##000000
##A4A7971.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA596
Deuteranopia (green-blind)
#A9A598
Tritanopia (blue-blind)
#A6A5A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a4a797;
/* rgb */ color: rgb(164, 167, 151);
/* oklch */ color: oklch(72.1% 0.023 115.6);
Tailwind
colors: {
  custom: {
    50: '#bfc1b5',
    500: '#a4a797',
    950: '#000000',
  },
}
SCSS
$custom: #a4a797;
$custom-light: #bfc1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a797",
  "rgb": {
    "r": 164,
    "g": 167,
    "b": 151
  },
  "hsl": {
    "h": 71.25,
    "s": 8.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.72136,
    "c": 0.02286,
    "h": 115.6
  },
  "luminance": 0.37764
}

Semantic roles & 50–950 ramp

primary
#A4A797
secondary
#CBCAD0
accent
#53925F
background
#FBFBFB
surface
#F7F7F6
border
#D0D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #A4A797

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

Preview Lab → · Contrast checker → · Palette generator →

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