Color #338e2f
A moderately saturated dark green.
Conversions
#338e2f
rgb(51, 142, 47)
hsl(117.5, 50.3%, 37.1%)
hsv(117.5, 66.9%, 55.7%)
cmyk(64.1%, 0%, 66.9%, 44.3%)
lab(52.12, -45.97, 41.39)
lch(52.12, 61.86, 138)
oklch(57.2%, 0.1576, 142.56)
hwb(117.5, 18.4%, 44.3%)
Harmony colors
Accessibility
Black text reads better on this background (5.05:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#676853 · ΔE 22
Deuteranopia
#625b59 · ΔE 31.7
Tritanopia
#3c666a · ΔE 29.6
Achromatopsia
#7c7c7c · ΔE 26.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #338e2f;
bg-[#338e2f]
Related colors
Frequently asked questions
#338e2f (#338e2f) is rgb(51, 142, 47) in RGB.
No, #338e2f is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #338e2f, or check how it holds up for accessibility.