Color #5a7f50
A muted medium green.
Conversions
#5a7f50
rgb(90, 127, 80)
hsl(107.2, 22.7%, 40.6%)
hsv(107.2, 37%, 49.8%)
cmyk(29.1%, 0%, 37%, 50.2%)
lab(49.41, -22.67, 21.5)
lch(49.41, 31.24, 136.52)
oklch(55.6%, 0.0818, 139.16)
hwb(107.2, 31.4%, 50.2%)
Harmony colors
Accessibility
Black text reads better on this background (4.59:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6c6c5e · ΔE 15.8
Deuteranopia
#6a6761 · ΔE 20.2
Tritanopia
#5c686a · ΔE 20.4
Achromatopsia
#757575 · ΔE 20.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a7f50;
bg-[#5a7f50]
Related colors
Frequently asked questions
#5a7f50 (#5a7f50) is rgb(90, 127, 80) in RGB.
No, #5a7f50 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 #5a7f50, or check how it holds up for accessibility.