Color #336227
A moderately saturated dark green.
Conversions
#336227
rgb(51, 98, 39)
hsl(107.8, 43.1%, 26.9%)
hsv(107.8, 60.2%, 38.4%)
cmyk(48%, 0%, 60.2%, 61.6%)
lab(37.09, -28.65, 28.26)
lch(37.09, 40.24, 135.39)
oklch(44.8%, 0.1032, 139.64)
hwb(107.8, 15.3%, 61.6%)
Harmony colors
Accessibility
White text reads better on this background (7.2:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4c4c3c · ΔE 17.1
Deuteranopia
#494540 · ΔE 23.1
Tritanopia
#37484a · ΔE 22.8
Achromatopsia
#575757 · ΔE 22.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #336227;
bg-[#336227]
Related colors
Frequently asked questions
#336227 (#336227) is rgb(51, 98, 39) in RGB.
No, #336227 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 #336227, or check how it holds up for accessibility.