Color #335227
A muted dark green.
Conversions
#335227
rgb(51, 82, 39)
hsl(103.3, 35.5%, 23.7%)
hsv(103.3, 52.4%, 32.2%)
cmyk(37.8%, 0%, 52.4%, 67.8%)
lab(31.54, -20.77, 21.58)
lch(31.54, 29.95, 133.9)
oklch(40.3%, 0.0772, 137.57)
hwb(103.3, 15.3%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (8.83:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#434335 · ΔE 14.4
Deuteranopia
#413e38 · ΔE 19.1
Tritanopia
#353e40 · ΔE 20.1
Achromatopsia
#4a4a4a · ΔE 20
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #335227;
bg-[#335227]
Related colors
Frequently asked questions
#335227 (#335227) is rgb(51, 82, 39) in RGB.
No, #335227 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 #335227, or check how it holds up for accessibility.