Color #1f5b32
A moderately saturated dark green.
Conversions
#1f5b32
rgb(31, 91, 50)
hsl(139, 49.2%, 23.9%)
hsv(139, 65.9%, 35.7%)
cmyk(65.9%, 0%, 45.1%, 64.3%)
lab(33.99, -29.62, 18.06)
lch(33.99, 34.69, 148.63)
oklch(42.1%, 0.0916, 150.81)
hwb(139, 12.2%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (8.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#41423f · ΔE 21.1
Deuteranopia
#3e3942 · ΔE 29.1
Tritanopia
#254749 · ΔE 18.3
Achromatopsia
#505050 · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f5b32;
bg-[#1f5b32]
Related colors
Frequently asked questions
#1f5b32 (#1f5b32) is rgb(31, 91, 50) in RGB.
No, #1f5b32 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 #1f5b32, or check how it holds up for accessibility.