Color #1f522f
A moderately saturated dark green.
Conversions
#1f522f
rgb(31, 82, 47)
hsl(138.8, 45.1%, 22.2%)
hsv(138.8, 62.2%, 32.2%)
cmyk(62.2%, 0%, 42.7%, 67.8%)
lab(30.71, -26.07, 15.57)
lch(30.71, 30.37, 149.15)
oklch(39.4%, 0.0805, 151.27)
hwb(138.8, 12.2%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (9.11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3b3c3a · ΔE 20.2
Deuteranopia
#38343c · ΔE 27.4
Tritanopia
#244142 · ΔE 16.2
Achromatopsia
#484848 · ΔE 21.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f522f;
bg-[#1f522f]
Related colors
Frequently asked questions
#1f522f (#1f522f) is rgb(31, 82, 47) in RGB.
No, #1f522f 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 #1f522f, or check how it holds up for accessibility.