#AAA797#AAA797

#AAA797 is a light, muted yellow. Relative luminance 0.384; OKLCH L 72.6% C 0.023 H 98.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#AAA797
RGBrgb(170, 167, 151)
HSLhsl(51, 10%, 63%)
HSVhsv(51, 11%, 67%)
CMYKcmyk(0%, 1.8%, 11.2%, 33.3%)
CIE-LABlab(68.33, -1.78, 8.66)
CIE-LCHlch(68.33, 8.84, 101.61°)
OKLaboklab(72.63% -0.0033 0.0226)
OKLCHoklch(72.63% 0.023 98.2)
XYZxyz(35.9816, 38.4182, 34.7921)
Luminance0.3842 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA797 #979AAA
analogous
#AA9D97 #AAA797 #A3AA97
triadic
#AAA797 #97AAA7 #A797AA
tetradic
#AAA797 #97AA9D #979AAA #AA97A3
square
#AAA797 #97AA9D #979AAA #AA97A3
split-complementary
#AAA797 #97A3AA #9D97AA
monochromatic
#6D6A59 #8E8B75 #AAA797 #C6C3B9 #E1E0DA

Accessibility & contrast

On white

2.42
#AAA797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#AAA797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA797
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA797#FFFFFF#000000##000000
##AAA7971.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA696
Deuteranopia (green-blind)
#ABA797
Tritanopia (blue-blind)
#ADA5A2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aaa797;
/* rgb */ color: rgb(170, 167, 151);
/* oklch */ color: oklch(72.6% 0.023 98.2);
Tailwind
colors: {
  custom: {
    50: '#c3c1b5',
    500: '#aaa797',
    950: '#000000',
  },
}
SCSS
$custom: #aaa797;
$custom-light: #c3c1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa797",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 151
  },
  "hsl": {
    "h": 50.526,
    "s": 10.053,
    "l": 62.941
  },
  "oklch": {
    "l": 0.72634,
    "c": 0.0228,
    "h": 98.2
  },
  "luminance": 0.38418
}

Semantic roles & 50–950 ramp

primary
#AAA797
secondary
#CBCCD2
accent
#5C9451
background
#FBFBFB
surface
#F7F7F6
border
#D0D0D0
text
#121211
muted
#818180

Preview Lab

Preview with #AAA797

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

Preview Lab → · Contrast checker → · Palette generator →

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