Color #7f7862
A nearly neutral, gray-leaning medium yellow.
Conversions
#7f7862
rgb(127, 120, 98)
hsl(45.5, 12.9%, 44.1%)
hsv(45.5, 22.8%, 49.8%)
cmyk(0%, 5.5%, 22.8%, 50.2%)
lab(50.48, -1.19, 13.07)
lch(50.48, 13.12, 95.2)
oklch(57.3%, 0.0335, 92.39)
hwb(45.5, 38.4%, 50.2%)
Harmony colors
Accessibility
Black text reads better on this background (4.77:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7c7c68 · ΔE 3.7
Deuteranopia
#7c7d69 · ΔE 4.3
Tritanopia
#7f6c6d · ΔE 15.5
Achromatopsia
#787878 · ΔE 10.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f7862;
bg-[#7f7862]
Related colors
Frequently asked questions
#7f7862 (#7f7862) is rgb(127, 120, 98) in RGB.
No, #7f7862 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 #7f7862, or check how it holds up for accessibility.