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.
| Format | Value | |
|---|---|---|
| HEX | #D2B48C | |
| RGB | rgb(210, 180, 140) | |
| HSL | hsl(34, 44%, 69%) | |
| CMYK | 0%, 14%, 33%, 18% | |
| CSS name | tan |
.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.
Tints and shades of tan
Tints mix the color with white; shades mix it with black.
Tan
Contrast and readability
10.65:1
passes AA and AAA
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.