Color #338271
A moderately saturated dark green.
Conversions
#338271
rgb(51, 130, 113)
hsl(167.1, 43.6%, 35.5%)
hsv(167.1, 60.8%, 51%)
cmyk(60.8%, 0%, 13.1%, 49%)
lab(49.33, -28.49, 2.02)
lch(49.33, 28.56, 175.94)
oklch(55.3%, 0.0818, 176.57)
hwb(167.1, 20%, 49%)
Harmony colors
Accessibility
White text reads better on this background (4.59:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5f6075 · ΔE 27.8
Deuteranopia
#5b5576 · ΔE 32
Tritanopia
#3a7979 · ΔE 7.9
Achromatopsia
#757575 · ΔE 21.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #338271;
bg-[#338271]
Related colors
Frequently asked questions
#338271 (#338271) is rgb(51, 130, 113) in RGB.
No, #338271 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 #338271, or check how it holds up for accessibility.