Color #1f513d
A moderately saturated dark green.
Conversions
#1f513d
rgb(31, 81, 61)
hsl(156, 44.6%, 22%)
hsv(156, 61.7%, 31.8%)
cmyk(61.7%, 0%, 24.7%, 68.2%)
lab(30.67, -22.33, 6.8)
lch(30.67, 23.34, 163.06)
oklch(39.4%, 0.0642, 164.28)
hwb(156, 12.2%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (9.12:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3b3b42 · ΔE 22.6
Deuteranopia
#383444 · ΔE 27.6
Tritanopia
#234647 · ΔE 10.9
Achromatopsia
#484848 · ΔE 19.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f513d;
bg-[#1f513d]
Related colors
Frequently asked questions
#1f513d (#1f513d) is rgb(31, 81, 61) in RGB.
No, #1f513d 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 #1f513d, or check how it holds up for accessibility.