Color #1f2a1b
A muted very dark green.
Conversions
#1f2a1b
rgb(31, 42, 27)
hsl(104, 21.7%, 13.5%)
hsv(104, 35.7%, 16.5%)
cmyk(26.2%, 0%, 35.7%, 83.5%)
lab(15.62, -8.42, 8.3)
lch(15.62, 11.82, 135.41)
oklch(27%, 0.0311, 137.48)
hwb(104, 10.6%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (14.94:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#24241f · ΔE 8.6
Deuteranopia
#242320 · ΔE 10.2
Tritanopia
#202223 · ΔE 11.4
Achromatopsia
#272727 · ΔE 11.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f2a1b;
bg-[#1f2a1b]
Related colors
Frequently asked questions
#1f2a1b (#1f2a1b) is rgb(31, 42, 27) in RGB.
No, #1f2a1b 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 #1f2a1b, or check how it holds up for accessibility.