Color #1f4829
A muted dark green.
Conversions
#1f4829
rgb(31, 72, 41)
hsl(134.6, 39.8%, 20.2%)
hsv(134.6, 56.9%, 28.2%)
cmyk(56.9%, 0%, 43.1%, 71.8%)
lab(26.98, -22.42, 14.33)
lch(26.98, 26.61, 147.41)
oklch(36.3%, 0.0706, 149.62)
hwb(134.6, 12.2%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (10.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#353632 · ΔE 17.9
Deuteranopia
#333034 · ΔE 24.3
Tritanopia
#22393a · ΔE 15.4
Achromatopsia
#404040 · ΔE 19.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f4829;
bg-[#1f4829]
Related colors
Frequently asked questions
#1f4829 (#1f4829) is rgb(31, 72, 41) in RGB.
No, #1f4829 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 #1f4829, or check how it holds up for accessibility.