Color #505842
A nearly neutral, gray-leaning dark green.
Conversions
#505842
rgb(80, 88, 66)
hsl(81.8, 14.3%, 30.2%)
hsv(81.8, 25%, 34.5%)
cmyk(9.1%, 0%, 25%, 65.5%)
lab(36.13, -7.61, 11.74)
lch(36.13, 13.99, 122.95)
oklch(44.7%, 0.0361, 124.04)
hwb(81.8, 25.9%, 65.5%)
Harmony colors
Accessibility
White text reads better on this background (7.46:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#545448 · ΔE 6.1
Deuteranopia
#535249 · ΔE 7.8
Tritanopia
#504c4d · ΔE 15.1
Achromatopsia
#555555 · ΔE 11.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #505842;
bg-[#505842]
Related colors
Frequently asked questions
#505842 (#505842) is rgb(80, 88, 66) in RGB.
No, #505842 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 #505842, or check how it holds up for accessibility.