Color #1f3a1b
A muted very dark green.
Conversions
#1f3a1b
rgb(31, 58, 27)
hsl(112.3, 36.5%, 16.7%)
hsv(112.3, 53.4%, 22.7%)
cmyk(46.6%, 0%, 53.4%, 77.3%)
lab(21.57, -17.81, 16.07)
lch(21.57, 23.99, 137.94)
oklch(31.8%, 0.0624, 141.18)
hwb(112.3, 10.6%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (12.51:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d25 · ΔE 14.6
Deuteranopia
#2b2927 · ΔE 18.7
Tritanopia
#212b2d · ΔE 17.2
Achromatopsia
#343434 · ΔE 18.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f3a1b;
bg-[#1f3a1b]
Related colors
Frequently asked questions
#1f3a1b (#1f3a1b) is rgb(31, 58, 27) in RGB.
No, #1f3a1b 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 #1f3a1b, or check how it holds up for accessibility.