Color #4f7217
A moderately saturated dark green.
Conversions
#4f7217
rgb(79, 114, 23)
hsl(83.1, 66.4%, 26.9%)
hsv(83.1, 79.8%, 44.7%)
cmyk(30.7%, 0%, 79.8%, 55.3%)
lab(43.88, -26.93, 43.04)
lch(43.88, 50.77, 122.03)
oklch(50.7%, 0.1226, 128.91)
hwb(83.1, 9%, 55.3%)
Harmony colors
Accessibility
White text reads better on this background (5.6:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#60603d · ΔE 13.3
Deuteranopia
#5e5b43 · ΔE 16.9
Tritanopia
#514f52 · ΔE 29.3
Achromatopsia
#686868 · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4f7217;
bg-[#4f7217]
Related colors
Frequently asked questions
#4f7217 (#4f7217) is rgb(79, 114, 23) in RGB.
No, #4f7217 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 #4f7217, or check how it holds up for accessibility.