#302A1B Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dark, muddy yellow sits between dusty olive and espresso. Because it is highly desaturated, #302a1b functions best as a grounding neutral for moody, high-contrast layouts. It offers excellent legibility for white body text, making it a solid choice for dark mode UI backgrounds. Avoid using it in large, flat blocks where it can risk looking like a void.
Questions about #302a1b
What is #302a1b in RGB, HSL and CMYK?
In RGB, #302a1b is rgb(48, 42, 27), in HSL hsl(43, 28%, 15%) and in CMYK 0%, 13%, 44%, 81%. Browse more shades of black with names and hex codes.
How should I use #302a1b in a UI layout?
#302a1b excels as a dark background color because its muted, organic quality feels less jarring than pure black or charcoal. Use it in sections where you need a grounded, earthy atmosphere that allows white or light-toned text to pop clearly.
Does #302a1b read as warm or cool?
This color sits on the warm side of the spectrum due to its strong yellow undertones, though its high saturation makes it appear effectively neutral. It avoids the clinical sterility of cool dark grays, offering a richer, more tactile visual experience.
Is #302a1b readable on white or black?
#302a1b has a 14.25:1 contrast ratio on white and 1.47: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.