Color #96997e
A nearly neutral, gray-leaning medium yellow.
Conversions
#96997e
rgb(150, 153, 126)
hsl(66.7, 11.7%, 54.7%)
hsv(66.7, 17.6%, 60%)
cmyk(2%, 0%, 17.6%, 40%)
lab(62.32, -5.93, 13.86)
lch(62.32, 15.08, 113.16)
oklch(67.3%, 0.0386, 112.57)
hwb(66.7, 49.4%, 40%)
Harmony colors
Accessibility
Black text reads better on this background (7.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#979785 · ΔE 3.7
Deuteranopia
#979787 · ΔE 4.4
Tritanopia
#968b8c · ΔE 17.2
Achromatopsia
#979797 · ΔE 12
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #96997e;
bg-[#96997e]
Related colors
Frequently asked questions
#96997e (#96997e) is rgb(150, 153, 126) in RGB.
No, #96997e 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 #96997e, or check how it holds up for accessibility.