Color #338b4f
A moderately saturated dark green.
Conversions
#338b4f
rgb(51, 139, 79)
hsl(139.1, 46.3%, 37.3%)
hsv(139.1, 63.3%, 54.5%)
cmyk(63.3%, 0%, 43.2%, 45.5%)
lab(51.53, -40.2, 24.51)
lch(51.53, 47.08, 148.63)
oklch(56.9%, 0.1244, 150.84)
hwb(139.1, 20%, 45.5%)
Harmony colors
Accessibility
Black text reads better on this background (4.95:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#656662 · ΔE 24.1
Deuteranopia
#605966 · ΔE 33.2
Tritanopia
#3b6e71 · ΔE 22.8
Achromatopsia
#7b7b7b · ΔE 24.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #338b4f;
bg-[#338b4f]
Related colors
Frequently asked questions
#338b4f (#338b4f) is rgb(51, 139, 79) in RGB.
No, #338b4f 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 #338b4f, or check how it holds up for accessibility.