Color #4a6540
A muted dark green.
Conversions
#4a6540
rgb(74, 101, 64)
hsl(103.8, 22.4%, 32.4%)
hsv(103.8, 36.6%, 39.6%)
cmyk(26.7%, 0%, 36.6%, 60.4%)
lab(39.8, -17.79, 17.83)
lch(39.8, 25.19, 134.94)
oklch(47.5%, 0.0658, 137.46)
hwb(103.8, 25.1%, 60.4%)
Harmony colors
Accessibility
White text reads better on this background (6.51:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#57574b · ΔE 13.7
Deuteranopia
#55534d · ΔE 17
Tritanopia
#4c5254 · ΔE 18.8
Achromatopsia
#5e5e5e · ΔE 18.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4a6540;
bg-[#4a6540]
Related colors
Frequently asked questions
#4a6540 (#4a6540) is rgb(74, 101, 64) in RGB.
No, #4a6540 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 #4a6540, or check how it holds up for accessibility.