Color #7e7c74
A nearly neutral, gray-leaning medium yellow.
Conversions
#7e7c74
rgb(126, 124, 116)
hsl(48, 4.1%, 47.5%)
hsv(48, 7.9%, 49.4%)
cmyk(0%, 1.6%, 7.9%, 50.6%)
lab(51.96, -0.78, 4.63)
lch(51.96, 4.7, 99.56)
oklch(58.6%, 0.0121, 95.19)
hwb(48, 45.5%, 50.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.02:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7d7d76 · ΔE 1.1
Deuteranopia
#7d7d76 · ΔE 1.1
Tritanopia
#7e7878 · ΔE 5.8
Achromatopsia
#7c7c7c · ΔE 4.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e7c74;
bg-[#7e7c74]
Related colors
Frequently asked questions
#7e7c74 (#7e7c74) is rgb(126, 124, 116) in RGB.
No, #7e7c74 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 #7e7c74, or check how it holds up for accessibility.