ColorXprez

#28271A

Espresso · very dark warm yellow

About #28271A

With the hex code #28271A, this is a very dark yellow with a muted character. Its RGB recipe is 16% red, 15% green and 10% blue, while a printer would mix 0% cyan, 2% magenta, 35% yellow and 84% black. It reads as a warm colour.

If you had to name it, it is similar to Espresso — a ΔE of 9.2 — followed by Jet. For maximum hue contrast, pair it with its complement #1A1B28, a onyx shade.

In design, a very dark colour like this works best for headings, body text, footers and dark-mode backgrounds. White text reads best on it at 15.05:1 (a WCAG AAA pass). Used as a text colour on white, it is readable too (15.05:1).

Colour codes

HEX
RGB
HSL
HSV / HSB
CMYK
CIELAB
Decimal
CSS
Red40
Green39
Blue26

Closest named colours

Espresso
#3B2A20 · ΔE 9.2
Jet
#2B2B2B · ΔE 9.3
Graphite
#383838 · ΔE 12.2

ΔE measures visible difference: under 2 is barely noticeable, over 10 is clearly different.

Text on #28271A

WCAG contrast for white and black text on this colour.

White heading text
Body copy set on espresso #28271A.
15.05:1AAA
Black heading text
Body copy set on espresso #28271A.
1.40:1Fail

Colour-blindness preview

How #28271A appears to people with the three most common types of colour-vision deficiency.

Normal vision
#28271A
Protanopia (no red cones)
#292619
Deuteranopia (no green cones)
#2A271A
Tritanopia (no blue cones)
#2A2524

Shades, tints & matching colours

Tints and shades

Complementary

Analogous

Triadic

Split complementary

Tetradic

Similar colours

Frequently asked questions

›What colour is #28271A?

With the hex code #28271A, this is a very dark yellow with a muted character. Its RGB recipe is 16% red, 15% green and 10% blue, while a printer would mix 0% cyan, 2% magenta, 35% yellow and 84% black. It reads as a warm colour.

›What text colour should I use on #28271A?

Use white text. White on #28271A has a contrast ratio of 15.05:1 (AAA).

›What colours go with #28271A?

Its complementary colour is #1A1B28, and analogous partners are #28201A and #22281A.