Color #7e7e70
A nearly neutral, gray-leaning medium yellow.
Conversions
#7e7e70
rgb(126, 126, 112)
hsl(60, 5.9%, 46.7%)
hsv(60, 11.1%, 49.4%)
cmyk(0%, 0%, 11.1%, 50.6%)
lab(52.43, -2.65, 7.63)
lch(52.43, 8.08, 109.15)
oklch(58.9%, 0.0207, 107.12)
hwb(60, 43.9%, 50.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.11:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7e7e74 · ΔE 1.8
Deuteranopia
#7e7e74 · ΔE 1.8
Tritanopia
#7e7677 · ΔE 10.7
Achromatopsia
#7d7d7d · ΔE 7.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e7e70;
bg-[#7e7e70]
Related colors
Frequently asked questions
#7e7e70 (#7e7e70) is rgb(126, 126, 112) in RGB.
No, #7e7e70 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 #7e7e70, or check how it holds up for accessibility.