Color #5b997d
A muted medium green.
Conversions
#5b997d
rgb(91, 153, 125)
hsl(152.9, 25.4%, 47.8%)
hsv(152.9, 40.5%, 60%)
cmyk(40.5%, 0%, 18.3%, 40%)
lab(58.5, -26.68, 8.49)
lch(58.5, 28, 162.35)
oklch(63.3%, 0.0777, 163.62)
hwb(152.9, 35.7%, 40%)
Harmony colors
Accessibility
Black text reads better on this background (6.3:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7b84 · ΔE 25
Deuteranopia
#777286 · ΔE 30
Tritanopia
#5f8a8b · ΔE 12.6
Achromatopsia
#8d8d8d · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b997d;
bg-[#5b997d]
Related colors
Frequently asked questions
#5b997d (#5b997d) is rgb(91, 153, 125) in RGB.
No, #5b997d 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 #5b997d, or check how it holds up for accessibility.