Color #1f3e28
A muted very dark green.
Conversions
#1f3e28
rgb(31, 62, 40)
hsl(137.4, 33.3%, 18.2%)
hsv(137.4, 50%, 24.3%)
cmyk(50%, 0%, 35.5%, 75.7%)
lab(23.3, -17.4, 10.04)
lch(23.3, 20.09, 150.01)
oklch(33.3%, 0.0539, 151.86)
hwb(137.4, 12.2%, 75.7%)
Harmony colors
Accessibility
White text reads better on this background (11.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f2e · ΔE 16.8
Deuteranopia
#2d2b30 · ΔE 21.1
Tritanopia
#213334 · ΔE 12.7
Achromatopsia
#383838 · ΔE 17
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f3e28;
bg-[#1f3e28]
Related colors
Frequently asked questions
#1f3e28 (#1f3e28) is rgb(31, 62, 40) in RGB.
No, #1f3e28 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 #1f3e28, or check how it holds up for accessibility.