Color #7b796b
A nearly neutral, gray-leaning medium yellow.
Conversions
#7b796b
rgb(123, 121, 107)
hsl(52.5, 7%, 45.1%)
hsv(52.5, 13%, 48.2%)
cmyk(0%, 1.6%, 13%, 51.8%)
lab(50.63, -1.87, 7.96)
lch(50.63, 8.18, 103.22)
oklch(57.4%, 0.021, 100.4)
hwb(52.5, 42%, 51.8%)
Harmony colors
Accessibility
Black text reads better on this background (4.79:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7a7a6f · ΔE 1.6
Deuteranopia
#7a7a6f · ΔE 1.6
Tritanopia
#7b7172 · ΔE 10.8
Achromatopsia
#787878 · ΔE 7.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7b796b;
bg-[#7b796b]
Related colors
Frequently asked questions
#7b796b (#7b796b) is rgb(123, 121, 107) in RGB.
No, #7b796b 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 #7b796b, or check how it holds up for accessibility.