White on tanBlack on tan

Shades to explore

BROWN FAMILY

Tan colour code

#D2B48C

Tan (#D2B48C) is a medium-light, moderately saturated shade in the brown family. Its HSL lightness is 69% and saturation is 44%.

HEX#D2B48C
RGBrgb(210, 180, 140)
HSLhsl(34, 44%, 69%)

Text contrast

With white: 1.97:1 · With black: 10.65:1

Normal text needs 4.5:1 for AA; large text needs 3:1.

Use Tan in CSS

Copy this background and text pairing into your stylesheet.

.colour-tan {
  background-color: #D2B48C;
  color: #000000;
}

Use the HEX value for a consistent digital reference. Descriptive colour names can vary between collections and are not always valid CSS keywords. This code does not identify a paint, fabric or print specification.

Using Tan

Try it alongside natural textures, wood tones or an earth-inspired palette.

Black text on Tan

10.65:1 · AAA for normal text

This pairing uses #000000 text on #D2B48C. Results apply to solid colours; recheck contrast if you add transparency, imagery or effects.

Colour companions

Similar shades in the brown family