Tan Color

HEX #D2B48C · rgb(210, 180, 140) · hsl(34, 44%, 69%)

Tan color codes

Tan is one of the named colors every browser understands. In CSS you can write it as tan or #D2B48C.

FormatValue
HEX#D2B48C
RGBrgb(210, 180, 140)
HSLhsl(34, 44%, 69%)
CMYK0%, 14%, 33%, 18%
CSS nametan
.example {
  color: tan;
  background-color: #D2B48C;
  border-color: rgb(210, 180, 140);
}

Colors that go with tan

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#8CAAD2Complementary
#D2918CAnalogous
#CDD28CAnalogous
#8CD2B4Triadic
#B48CD2Triadic

Tints and shades of tan

Tints mix the color with white; shades mix it with black.

#FBF8F490% white
#F4ECE275% white
#EDE1D160% white
#E6D6C045% white
#E0CBAF30% white
#D9BF9D15% white
#D2B48CBase
Tan
#B3997715% black
#937E6230% black
#74634D45% black
#54483860% black
#352D2375% black
#15120E90% black

Contrast and readability

Black text
10.65:1
passes AA and AAA
White text
1.97:1
fails

Use black text on tan. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for tan?

The hex code for tan is #D2B48C.

What is the RGB value of tan?

Tan is rgb(210, 180, 140): 210 red, 180 green and 140 blue on a 0 to 255 scale.

What color goes with tan?

Its complementary color is #8CAAD2, which is closest to the named color sky blue. Analogous and triadic matches are listed on this page.

Should text on tan be black or white?

Use black text. The contrast ratio is 10.65:1 with black and 1.97:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.