A light, warm brown named after the tanbark once used to tan leather. It's one of the most common neutral colors in America, from khakis and boots to car interiors. It's also a standard HTML/CSS color name.
Also known as: Light tan.
Tan (#D2B48C) is a warm, mid-tone, moderately saturated color. It belongs to the browns family. It mixes 210 red, 180 green and 140 blue (out of 255). It is mostly used in fashion, interiors, web.
From lightest to darkest. Tap a shade to copy its code.
Combinations based on the color wheel. More in the color harmony tool.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--tan: #D2B48C;
--tan-rgb: 210, 180, 140;
}
.bg { background-color: var(--tan); }
.text { color: var(--tan); }The hex code for tan is #D2B48C. In RGB it is rgb(210, 180, 140), in HSL hsl(34, 44%, 69%) and in CMYK 0, 14, 33, 18.
Its complement on the color wheel is #8CAAD2, close to chambray blue. Used in small doses, it works as an accent and adds strong contrast.
Use black text instead: the contrast with white is only 2.0:1, while with black it is 10.6:1.