#171B17 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #171b17 graphic
This nearly black charcoal holds subtle green undertones that add a moody, professional edge to dark mode interfaces. Because the hex code #171b17 is so dark, it provides an excellent 17.4:1 contrast ratio against white text, making it a reliable choice for readable, minimal backgrounds. Use it to anchor designs where pure black feels too harsh or one-dimensional.

Questions about #171b17

What is #171b17 in RGB, HSL and CMYK?
In RGB, #171b17 is rgb(23, 27, 23), in HSL hsl(120, 8%, 10%) and in CMYK 15%, 0%, 15%, 89%. Browse more shades of black with names and hex codes.
How does #171b17 differ from pure black in interface design?
#171b17 functions as a softer, more sophisticated alternative to standard black by utilizing subtle green undertones to reduce eye strain. It anchors UI components effectively while maintaining a professional, modern aesthetic that feels less artificial than absolute black.
Which colors pair best with #171b17 for a balanced palette?
Because of its muted green character, #171b17 works exceptionally well with dusty sage or muted gold accents to highlight interface elements. Using neutral, off-white text instead of stark white helps maintain the color's intended low-contrast, comfortable viewing experience.
Is #171b17 readable on white or black?
#171b17 has a 17.41:1 contrast ratio on white and 1.20:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.