Color #338979
A moderately saturated dark green.
Conversions
#338979
rgb(51, 137, 121)
hsl(168.8, 45.7%, 36.9%)
hsv(168.8, 62.8%, 53.7%)
cmyk(62.8%, 0%, 11.7%, 46.3%)
lab(51.81, -29.73, 0.96)
lch(51.81, 29.75, 178.15)
oklch(57.4%, 0.0858, 178.6)
hwb(168.8, 20%, 46.3%)
Harmony colors
Accessibility
Black text reads better on this background (5:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#64657d · ΔE 28.5
Deuteranopia
#5f587e · ΔE 33
Tritanopia
#3b8081 · ΔE 7.8
Achromatopsia
#7b7b7b · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #338979;
bg-[#338979]
Related colors
Frequently asked questions
#338979 (#338979) is rgb(51, 137, 121) in RGB.
No, #338979 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 #338979, or check how it holds up for accessibility.