Skip to content
Color Codes

CSS named color

Tan Color Code

Tan is a light, moderately saturated orange with the hex code #D2B48C. In RGB it is rgb(210, 180, 140), in HSL hsl(34, 44%, 69%) and in CMYK cmyk(0%, 14%, 33%, 18%).

Tan
#D2B48C

Color values

In CSS you can write it as the keyword tan.

White text on Tan has a contrast ratio of 1.97:1 and black text 10.65:1, so black text is the more readable choice.

The closest Tailwind CSS color is Orange 300 (#FDBA74).

Use Tan in CSS

.element {
  color: tan;
  background-color: #d2b48c;
  border-color: rgb(210, 180, 140);
}

Tints and shades of Tan

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with Tan

Color-wheel harmonies built from #D2B48C. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on Tan

Aa
White text
1.97:1
Fail
Aa
Black text
10.65:1
AAA
Check in the contrast checker

Colors similar to Tan

Palettes with similar colors

Questions about Tan

What is the hex code for Tan?

The hex code for Tan is #D2B48C. Its RGB value is rgb(210, 180, 140) and its HSL value is hsl(34, 44%, 69%).

What colors go with Tan?

The complementary color of Tan is #8DABD3. For a softer scheme try the analogous colors #D3928D and #CED38D; for a balanced three-color scheme use the triadic colors #8DD3B5 and #B58DD3.

Is Tan readable as a text color?

On a white background Tan has a contrast ratio of 1.97:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 10.65:1.

More brown colors