#28281F Hex Color

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

Hex color #28281f graphic
The hex code #28281f is a dark, low-saturation yellow with an ashy olive undertone, sitting close to gray. Its low lightness creates a serious, mysterious mood, while its restrained warmth suits moody backgrounds, construction graphics, and budget-focused sale layouts. Use it as a supporting dark base with white text for strong contrast, including small body text.

Questions about #28281f

What is #28281f in RGB, HSL and CMYK?
In RGB, #28281f is rgb(40, 40, 31), in HSL hsl(60, 13%, 14%) and in CMYK 0%, 0%, 22%, 84%.
What colors pair well with #28281f?
The best pairings for #28281f are dusty cream, muted terracotta, and subdued burgundy, which add measured warmth without fighting its grayness or making the palette feel bright and overly polished. Use white or pale sand for text and highlights, keeping brighter colors to small accents.
Is #28281f warm or cool?
#28281f reads slightly warm because its muted yellow-olive undertone remains visible beneath a near-gray surface, though its very low saturation keeps it from feeling sunny or earthy in most layouts. It works as a restrained alternative to black in serious interfaces and moody compositions.
Is #28281f readable on white or black?
#28281f has a 14.85:1 contrast ratio on white and 1.41: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.