Color #336b42
A muted dark green.
Conversions
#336b42
rgb(51, 107, 66)
hsl(136.1, 35.4%, 31%)
hsv(136.1, 52.3%, 42%)
cmyk(52.3%, 0%, 38.3%, 58%)
lab(40.59, -28.47, 17.48)
lch(40.59, 33.41, 148.45)
oklch(47.8%, 0.0889, 150.55)
hwb(136.1, 20%, 58%)
Harmony colors
Accessibility
White text reads better on this background (6.32:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#51524e · ΔE 20.6
Deuteranopia
#4e4951 · ΔE 28.6
Tritanopia
#375758 · ΔE 17.5
Achromatopsia
#606060 · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #336b42;
bg-[#336b42]
Related colors
Frequently asked questions
#336b42 (#336b42) is rgb(51, 107, 66) in RGB.
No, #336b42 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 #336b42, or check how it holds up for accessibility.