Color #5f7142
A muted dark green.
Conversions
#5f7142
rgb(95, 113, 66)
hsl(83, 26.3%, 35.1%)
hsv(83, 41.6%, 44.3%)
cmyk(15.9%, 0%, 41.6%, 55.7%)
lab(45.13, -15.43, 23.9)
lch(45.13, 28.45, 122.85)
oklch(52.2%, 0.0723, 125.89)
hwb(83, 25.9%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (5.35:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#676751 · ΔE 9.9
Deuteranopia
#666554 · ΔE 11.9
Tritanopia
#605a5c · ΔE 24.5
Achromatopsia
#6b6b6b · ΔE 18.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f7142;
bg-[#5f7142]
Related colors
Frequently asked questions
#5f7142 (#5f7142) is rgb(95, 113, 66) in RGB.
No, #5f7142 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 #5f7142, or check how it holds up for accessibility.