Tan Color Code (#d2b48c)

Tan is #d2b48c in hex and rgb(210, 180, 140) — a light orange. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Tan
#d2b48c
CSS nametan
Hex#d2b48c
RGBrgb(210, 180, 140)
HSLhsl(34 44% 69%)
HWBhwb(34 55% 18%)
CMYK0%, 14%, 33%, 18%

Tints and shades

Color harmonies

About Tan

Tan (tan) is a light, moderately saturated orange with the hex code #d2b48c, or rgb(210, 180, 140). In HSL it sits at a hue of 34°, 44% saturation and 69% lightness. It is one of the 148 named colors every browser understands, so you can write color: tan; instead of the hex value.

Using Tan for text and backgrounds

PairingContrast ratioWCAG
Tan text on white1.97 : 1fails
Tan text on black10.65 : 1AAA

On a tan background, use black text (10.65 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: tan;               /* or #d2b48c */
  background-color: #d2b48c;
  border: 1px solid rgb(210 180 140 / 50%);
}

Similar named colors

Burly Wood (#deb887), Dark Khaki (#bdb76b), Dark Salmon (#e9967a), Rosy Brown (#bc8f8f), Dark Gray (#a9a9a9), Light Salmon (#ffa07a).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for tan?
#d2b48c — that is rgb(210, 180, 140) and hsl(34, 44%, 69%). In CSS you can also just write tan.
Is tan text readable on white?
Its contrast ratio on white is 1.97 : 1, which fails WCAG — use it for decoration or on a dark background instead.
What colors go well with tan?
Its complementary color is #8dabd3; analogous colors #d3928d and #ced38d sit next to it on the color wheel.