#1F1B13 Hex Color

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

Hex color #1f1b13 graphic
This extremely dark, desaturated yellow leans into muddy grey tones. Because it sits so close to black, #1f1b13 works best as a moody background or a heavy base rather than a bright accent. Pair it with soft cream or crisp white text to ensure readability, as it offers a strong 17.2:1 contrast ratio. Designers use this hex code to anchor high-contrast, serious, or industrial interfaces.

Questions about #1f1b13

What is #1f1b13 in RGB, HSL and CMYK?
In RGB, #1f1b13 is rgb(31, 27, 19), in HSL hsl(40, 24%, 10%) and in CMYK 0%, 13%, 39%, 88%.
How should I use #1f1b13 effectively in a UI design?
#1f1b13 serves best as a sophisticated background replacement for standard black, offering more character through its subtle yellow-grey warmth. Use it to ground modern interfaces by pairing it with crisp, off-white typography to maintain excellent readability and a premium, serious aesthetic.
What colors pair well with #1f1b13?
This deep tone works harmoniously with soft, warm neutrals like cream or ivory to balance its heavy, industrial weight. For accents, consider muted terracotta or desaturated olive to emphasize the subtle yellow undertones buried deep within the dark base.
Is #1f1b13 readable on white or black?
#1f1b13 has a 17.15:1 contrast ratio on white and 1.22: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.