Color #7c7a5e
A nearly neutral, gray-leaning medium yellow.
Conversions
#7c7a5e
rgb(124, 122, 94)
hsl(56, 13.8%, 42.7%)
hsv(56, 24.2%, 48.6%)
cmyk(0%, 1.6%, 24.2%, 51.4%)
lab(50.7, -4.19, 15.65)
lch(50.7, 16.2, 104.99)
oklch(57.4%, 0.041, 104.27)
hwb(56, 36.9%, 51.4%)
Harmony colors
Accessibility
Black text reads better on this background (4.8:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7b66 · ΔE 2.6
Deuteranopia
#7b7b67 · ΔE 3
Tritanopia
#7c6b6c · ΔE 18.8
Achromatopsia
#797979 · ΔE 12.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7c7a5e;
bg-[#7c7a5e]
Related colors
Frequently asked questions
#7c7a5e (#7c7a5e) is rgb(124, 122, 94) in RGB.
No, #7c7a5e 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 #7c7a5e, or check how it holds up for accessibility.