#28271C Hex Color

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

Hex color #28271c graphic
Dark yellow #28271c works best as a base for moody layouts, sale banners, and construction branding. It sits almost gray, its warmth buried under dust and shadow. The hex code gives white text a contrast ratio near 15:1, so small body copy stays readable. Pair it with muted gold or sage accents to keep the palette from going flat.

Questions about #28271c

What is #28271c in RGB, HSL and CMYK?
In RGB, #28271c is rgb(40, 39, 28), in HSL hsl(55, 18%, 13%) and in CMYK 0%, 2%, 30%, 84%. Browse more shades of black with names and hex codes.
What colors pair well with #28271c?
Muted gold, sage, and terracotta keep #28271c from reading flat. For text, white is the safest choice, hitting about 15:1 contrast and clearing WCAG AA for small body copy.
Is #28271c a warm or cool color?
It reads warm despite its darkness. A yellow base sits under heavy gray, giving it an aged, olive-like cast that suits autumn palettes and industrial or budget branding.
Is #28271c readable on white or black?
#28271c has a 15.03:1 contrast ratio on white and 1.39: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.