Color #5a7162
A nearly neutral, gray-leaning dark green.
Conversions
#5a7162
rgb(90, 113, 98)
hsl(140.9, 11.3%, 39.8%)
hsv(140.9, 20.4%, 44.3%)
cmyk(20.4%, 0%, 13.3%, 55.7%)
lab(45.45, -11.79, 5.55)
lch(45.45, 13.03, 154.79)
oklch(52.5%, 0.0359, 156.36)
hwb(140.9, 35.3%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (5.29:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#656566 · ΔE 13.8
Deuteranopia
#636267 · ΔE 16.1
Tritanopia
#5b6969 · ΔE 8.6
Achromatopsia
#6c6c6c · ΔE 13.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a7162;
bg-[#5a7162]
Related colors
Frequently asked questions
#5a7162 (#5a7162) is rgb(90, 113, 98) in RGB.
No, #5a7162 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 #5a7162, or check how it holds up for accessibility.