Color #4f7a42
A muted dark green.
Conversions
#4f7a42
rgb(79, 122, 66)
hsl(106.1, 29.8%, 36.9%)
hsv(106.1, 45.9%, 47.8%)
cmyk(35.2%, 0%, 45.9%, 52.2%)
lab(46.94, -26.41, 26)
lch(46.94, 37.06, 135.45)
oklch(53.3%, 0.0962, 138.71)
hwb(106.1, 25.9%, 52.2%)
Harmony colors
Accessibility
White text reads better on this background (5.01:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#646554 · ΔE 16
Deuteranopia
#625e58 · ΔE 22.1
Tritanopia
#525f62 · ΔE 23.1
Achromatopsia
#6f6f6f · ΔE 22.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4f7a42;
bg-[#4f7a42]
Related colors
Frequently asked questions
#4f7a42 (#4f7a42) is rgb(79, 122, 66) in RGB.
No, #4f7a42 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 #4f7a42, or check how it holds up for accessibility.