Color #7e784f
A muted medium yellow.
Conversions
#7e784f
rgb(126, 120, 79)
hsl(52.3, 22.9%, 40.2%)
hsv(52.3, 37.3%, 49.4%)
cmyk(0%, 4.8%, 37.3%, 50.6%)
lab(50.02, -4.33, 23.37)
lch(50.02, 23.77, 100.5)
oklch(56.8%, 0.0588, 100.89)
hwb(52.3, 31%, 50.6%)
Harmony colors
Accessibility
Black text reads better on this background (4.69:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7b5b · ΔE 3.7
Deuteranopia
#7c7c5e · ΔE 4.3
Tritanopia
#7e6365 · ΔE 24.6
Achromatopsia
#777777 · ΔE 15.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e784f;
bg-[#7e784f]
Related colors
Frequently asked questions
#7e784f (#7e784f) is rgb(126, 120, 79) in RGB.
No, #7e784f 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 #7e784f, or check how it holds up for accessibility.