#2D2A1F Hex Color

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

Hex color #2d2a1f graphic
This dusty, dark shade carries heavy yellow undertones that lean toward a murky grey. It creates a serious, moody atmosphere that works well for dark UI backgrounds. Because it is so dark, white text remains highly readable at a 14.4:1 contrast ratio. Use the hex code #2d2a1f as a base color instead of harsh plain black for a softer, more organic aesthetic.

Questions about #2d2a1f

What is #2d2a1f in RGB, HSL and CMYK?
In RGB, #2d2a1f is rgb(45, 42, 31), in HSL hsl(47, 18%, 15%) and in CMYK 0%, 7%, 31%, 82%.
Is #2d2a1f a good substitute for pure black in UI design?
#2d2a1f works significantly better than pure black for screen interfaces because its subtle yellow undertones reduce visual strain. The softer character makes long-form text more readable while maintaining a serious, professional aesthetic for modern dark mode layouts.
Which colors pair well with #2d2a1f for a balanced palette?
Soft creams, muted sage greens, and warm slate greys harmonize beautifully with the earthy nature of #2d2a1f. These combinations play off the yellow undertones, creating a grounded, natural look that feels more sophisticated than harsh, high-contrast black and white pairings.
Is #2d2a1f readable on white or black?
#2d2a1f has a 14.35:1 contrast ratio on white and 1.46: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.