Color #5f7956
A muted medium green.
Conversions
#5f7956
rgb(95, 121, 86)
hsl(104.6, 16.9%, 40.6%)
hsv(104.6, 28.9%, 47.5%)
cmyk(21.5%, 0%, 28.9%, 52.5%)
lab(47.98, -16.61, 16.2)
lch(47.98, 23.2, 135.72)
oklch(54.6%, 0.061, 137.79)
hwb(104.6, 33.7%, 52.5%)
Harmony colors
Accessibility
White text reads better on this background (4.82:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6b6b60 · ΔE 13.5
Deuteranopia
#6a6862 · ΔE 16.4
Tritanopia
#616768 · ΔE 17.4
Achromatopsia
#727272 · ΔE 17.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f7956;
bg-[#5f7956]
Related colors
Frequently asked questions
#5f7956 (#5f7956) is rgb(95, 121, 86) in RGB.
No, #5f7956 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 #5f7956, or check how it holds up for accessibility.