Coffee color: hex codes, shades and palettes

Palettes built around coffee. Click any swatch to copy its hex code.

A dark brown, roasted rather than red. Slightly lighter and greyer than espresso, which is the darkest of the coffee browns.

Coffee hex, RGB, HSL and OKLCH

#4B3621
HEX
#4B3621
RGB
rgb(75, 54, 33)
HSL
hsl(30, 39%, 21%)
OKLCH
oklch(35.1% 0.045 65.5)
On white
11.36:1
On black
1.85:1

Shades of coffee

Eleven steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.

Contrast and readability

Coffee on white measures 11.36:1 and on black 1.85:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.34:1.

The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.

Related colors:espresso, chocolate, mocha. See every shade on the colors index.