Color #1f4d30
A moderately saturated dark green.
Conversions
#1f4d30
rgb(31, 77, 48)
hsl(142.2, 42.6%, 21.2%)
hsv(142.2, 59.7%, 30.2%)
cmyk(59.7%, 0%, 37.7%, 69.8%)
lab(28.93, -23.43, 12.58)
lch(28.93, 26.59, 151.77)
oklch(37.9%, 0.0711, 153.62)
hwb(142.2, 12.2%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (9.71:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#383939 · ΔE 19.9
Deuteranopia
#36323a · ΔE 26.3
Tritanopia
#233e40 · ΔE 15.2
Achromatopsia
#444444 · ΔE 19.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f4d30;
bg-[#1f4d30]
Related colors
Frequently asked questions
#1f4d30 (#1f4d30) is rgb(31, 77, 48) in RGB.
No, #1f4d30 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 #1f4d30, or check how it holds up for accessibility.