Color #5a7a55
A muted medium green.
Conversions
#5a7a55
rgb(90, 122, 85)
hsl(111.9, 17.9%, 40.6%)
hsv(111.9, 30.3%, 47.8%)
cmyk(26.2%, 0%, 30.3%, 52.2%)
lab(47.94, -19.22, 16.67)
lch(47.94, 25.44, 139.06)
oklch(54.4%, 0.0672, 141.22)
hwb(111.9, 33.3%, 52.2%)
Harmony colors
Accessibility
White text reads better on this background (4.83:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#696a60 · ΔE 14.8
Deuteranopia
#676562 · ΔE 19.1
Tritanopia
#5c6769 · ΔE 18.1
Achromatopsia
#727272 · ΔE 18.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a7a55;
bg-[#5a7a55]
Related colors
Frequently asked questions
#5a7a55 (#5a7a55) is rgb(90, 122, 85) in RGB.
No, #5a7a55 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 #5a7a55, or check how it holds up for accessibility.