#311F17 Hex Color

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

Hex color #311f17 graphic
A near-black brown, #311f17 feels serious and grounded. This dark, muted shade works well as a moody background or a subtle alternative to standard black. Because it offers a high contrast ratio with white text, it remains legible even in small sizes. Pair this hex code with warm, off-white tones or soft creams to keep your interface from looking too clinical.

Questions about #311f17

What is #311f17 in RGB, HSL and CMYK?
In RGB, #311f17 is rgb(49, 31, 23), in HSL hsl(18, 36%, 14%) and in CMYK 0%, 37%, 53%, 81%. Browse more shades of black with names and hex codes.
How should I use #311f17 in a web interface?
Use #311f17 as a sophisticated background to replace standard black when you want a warmer, more organic feel. It works exceptionally well with off-white or soft cream typography, ensuring high readability while preventing the harsh clinical look of pure black.
What colors pair well with #311f17?
This color anchors best when paired with warm neutrals like cream or beige, which soften its intensity. For a more vibrant contrast, incorporate metallic accents like gold or copper to elevate the grounding, serious nature of this deep brown shade.
Is #311f17 readable on white or black?
#311f17 has a 15.68:1 contrast ratio on white and 1.33: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.