Color #335c42
A muted dark green.
Conversions
#335c42
rgb(51, 92, 66)
hsl(142, 28.7%, 28%)
hsv(142, 44.6%, 36.1%)
cmyk(44.6%, 0%, 28.3%, 63.9%)
lab(35.5, -20.98, 10.56)
lch(35.5, 23.49, 153.28)
oklch(43.7%, 0.0636, 154.97)
hwb(142, 20%, 63.9%)
Harmony colors
Accessibility
White text reads better on this background (7.64:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#484949 · ΔE 18.7
Deuteranopia
#46424b · ΔE 25.3
Tritanopia
#364f50 · ΔE 13.3
Achromatopsia
#535353 · ΔE 18.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #335c42;
bg-[#335c42]
Related colors
Frequently asked questions
#335c42 (#335c42) is rgb(51, 92, 66) in RGB.
No, #335c42 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 #335c42, or check how it holds up for accessibility.