Color #1f5c21
A moderately saturated dark green.
Conversions
#1f5c21
rgb(31, 92, 33)
hsl(122, 49.6%, 24.1%)
hsv(122, 66.3%, 36.1%)
cmyk(66.3%, 0%, 64.1%, 63.9%)
lab(34.1, -32.85, 27.71)
lch(34.1, 42.98, 139.85)
oklch(42.1%, 0.1104, 143.8)
hwb(122, 12.2%, 63.9%)
Harmony colors
Accessibility
White text reads better on this background (8.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#424236 · ΔE 19.5
Deuteranopia
#3e3a3a · ΔE 27.5
Tritanopia
#254245 · ΔE 23.2
Achromatopsia
#505050 · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f5c21;
bg-[#1f5c21]
Related colors
Frequently asked questions
#1f5c21 (#1f5c21) is rgb(31, 92, 33) in RGB.
No, #1f5c21 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 #1f5c21, or check how it holds up for accessibility.