Color #1f291a
A muted very dark green.
Conversions
#1f291a
rgb(31, 41, 26)
hsl(100, 22.4%, 13.1%)
hsv(100, 36.6%, 16.1%)
cmyk(24.4%, 0%, 36.6%, 83.9%)
lab(15.23, -7.98, 8.46)
lch(15.23, 11.63, 133.33)
oklch(26.6%, 0.0304, 135.53)
hwb(100, 10.2%, 83.9%)
Harmony colors
Accessibility
White text reads better on this background (15.1:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#24241e · ΔE 7.8
Deuteranopia
#23221f · ΔE 9.9
Tritanopia
#202122 · ΔE 11.5
Achromatopsia
#262626 · ΔE 11
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f291a;
bg-[#1f291a]
Related colors
Frequently asked questions
#1f291a (#1f291a) is rgb(31, 41, 26) in RGB.
No, #1f291a 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 #1f291a, or check how it holds up for accessibility.