Color #1f3a28
A muted very dark green.
Conversions
#1f3a28
rgb(31, 58, 40)
hsl(140, 30.3%, 17.5%)
hsv(140, 46.6%, 22.7%)
cmyk(46.6%, 0%, 31%, 77.3%)
lab(21.84, -15.17, 8.04)
lch(21.84, 17.17, 152.08)
oklch(32.1%, 0.0464, 153.77)
hwb(140, 12.2%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (12.4:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d2d · ΔE 15.7
Deuteranopia
#2b292e · ΔE 19.5
Tritanopia
#213131 · ΔE 10.6
Achromatopsia
#343434 · ΔE 15.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f3a28;
bg-[#1f3a28]
Related colors
Frequently asked questions
#1f3a28 (#1f3a28) is rgb(31, 58, 40) in RGB.
No, #1f3a28 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 #1f3a28, or check how it holds up for accessibility.