Color #7f7960
A nearly neutral, gray-leaning medium yellow.
Conversions
#7f7960
rgb(127, 121, 96)
hsl(48.4, 13.9%, 43.7%)
hsv(48.4, 24.4%, 49.8%)
cmyk(0%, 4.7%, 24.4%, 50.2%)
lab(50.72, -2.07, 14.57)
lch(50.72, 14.72, 98.09)
oklch(57.5%, 0.0373, 96.15)
hwb(48.4, 37.6%, 50.2%)
Harmony colors
Accessibility
Black text reads better on this background (4.81:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7c7c67 · ΔE 3.3
Deuteranopia
#7d7d68 · ΔE 3.4
Tritanopia
#7f6c6d · ΔE 17
Achromatopsia
#797979 · ΔE 11.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f7960;
bg-[#7f7960]
Related colors
Frequently asked questions
#7f7960 (#7f7960) is rgb(127, 121, 96) in RGB.
No, #7f7960 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 #7f7960, or check how it holds up for accessibility.