Color #7a7872
A nearly neutral, gray-leaning medium yellow.
Conversions
#7a7872
rgb(122, 120, 114)
hsl(45, 3.4%, 46.3%)
hsv(45, 6.6%, 47.8%)
cmyk(0%, 1.6%, 6.6%, 52.2%)
lab(50.44, -0.41, 3.56)
lch(50.44, 3.58, 96.57)
oklch(57.3%, 0.0094, 91.83)
hwb(45, 44.7%, 52.2%)
Harmony colors
Accessibility
Black text reads better on this background (4.76:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#797973 · ΔE 1.2
Deuteranopia
#797974 · ΔE 1.2
Tritanopia
#7a7575 · ΔE 4.4
Achromatopsia
#787878 · ΔE 3.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7a7872;
bg-[#7a7872]
Related colors
Frequently asked questions
#7a7872 (#7a7872) is rgb(122, 120, 114) in RGB.
No, #7a7872 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 #7a7872, or check how it holds up for accessibility.