Color #508242
A muted dark green.
Conversions
#508242
rgb(80, 130, 66)
hsl(106.9, 32.7%, 38.4%)
hsv(106.9, 49.2%, 51%)
cmyk(38.5%, 0%, 49.2%, 49%)
lab(49.57, -29.92, 29.31)
lch(49.57, 41.88, 135.59)
oklch(55.5%, 0.1084, 139.08)
hwb(106.9, 25.9%, 49%)
Harmony colors
Accessibility
Black text reads better on this background (4.61:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#696a57 · ΔE 16.9
Deuteranopia
#66625b · ΔE 23
Tritanopia
#536467 · ΔE 24.4
Achromatopsia
#767676 · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #508242;
bg-[#508242]
Related colors
Frequently asked questions
#508242 (#508242) is rgb(80, 130, 66) in RGB.
No, #508242 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 #508242, or check how it holds up for accessibility.