#25271A Hex Color

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

Hex color #25271a graphic
#25271a is a heavily muted, almost black shade of yellow with deep, ashy undertones. Because it sits so close to black, this hex code works best as a moody, atmospheric background or a base for high-contrast typography. It supports white text exceptionally well, offering excellent readability for dark mode interfaces. Use it sparingly, as its dusty character can quickly feel muddy in large, solid areas.

Questions about #25271a

What is #25271a in RGB, HSL and CMYK?
In RGB, #25271a is rgb(37, 39, 26), in HSL hsl(69, 20%, 13%) and in CMYK 5%, 0%, 33%, 85%. Browse more shades of black with names and hex codes.
How does #25271a perform in dark mode interfaces?
#25271a functions as a sophisticated, near-black neutral that significantly reduces eye strain compared to pure black backgrounds. It allows white or light-toned typography to pop, creating a soft but professional atmosphere for reading-heavy applications.
What colors pair well with #25271a?
This shade anchors well against soft, desaturated cream or pale beige accents, which lighten the composition. For higher contrast, pair it with muted sage or warm terracotta tones to balance its natural, ashy depth.
Is #25271a readable on white or black?
#25271a has a 15.17:1 contrast ratio on white and 1.38: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.