Color #aaa797
A nearly neutral, gray-leaning light yellow.
Conversions
#aaa797
rgb(170, 167, 151)
hsl(50.5, 10.1%, 62.9%)
hsv(50.5, 11.2%, 66.7%)
cmyk(0%, 1.8%, 11.2%, 33.3%)
lab(68.33, -1.78, 8.66)
lch(68.33, 8.84, 101.61)
oklch(72.6%, 0.0228, 98.31)
hwb(50.5, 59.2%, 33.3%)
Harmony colors
Accessibility
Black text reads better on this background (8.68:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a9a99b · ΔE 1.6
Deuteranopia
#a9a99c · ΔE 1.8
Tritanopia
#aa9e9f · ΔE 11.4
Achromatopsia
#a7a7a7 · ΔE 7.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #aaa797;
bg-[#aaa797]
Related colors
Frequently asked questions
#aaa797 (#aaa797) is rgb(170, 167, 151) in RGB.
No, #aaa797 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #aaa797, or check how it holds up for accessibility.