Color #2f3936
A nearly neutral, gray-leaning dark green.
Conversions
#2f3936
rgb(47, 57, 54)
hsl(162, 9.6%, 20.4%)
hsv(162, 17.5%, 22.4%)
cmyk(17.5%, 0%, 5.3%, 77.6%)
lab(22.99, -4.92, 0.47)
lch(22.99, 4.94, 174.54)
oklch(33.4%, 0.0144, 175.2)
hwb(162, 18.4%, 77.6%)
Harmony colors
Accessibility
White text reads better on this background (11.94:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#343437 · ΔE 7.7
Deuteranopia
#333237 · ΔE 9.2
Tritanopia
#303737 · ΔE 2.7
Achromatopsia
#373737 · ΔE 6.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f3936;
bg-[#2f3936]
Related colors
Frequently asked questions
#2f3936 (#2f3936) is rgb(47, 57, 54) in RGB.
No, #2f3936 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 #2f3936, or check how it holds up for accessibility.