Tan color #D2B48C
rgb(210, 180, 140) · oklch(78.6% 0.064 74.6)
Tan (#D2B48C) is a light, warm orange. It mixes 82% red, 71% green and 55% blue, with a perceived lightness of 78.6% in OKLCH. Black text reads best on it (10.64:1 vs 1.97:1). The closest other CSS color is Burly Wood (#DEB887). For people with tritanopia it shifts the most, toward #DEACA9.
Tan color codes
| HEX | |
|---|---|
| RGB | |
| HSL | |
| HSV / HSB | |
| OKLCH | |
| CMYK | |
| CSS keyword |
Click a value to copy it. Convert any other color with the color converter.
Shades, tints and tones of tan
Shades mix tan with black, tints mix it with white, and tones mix it with gray. Mixing happens in OKLab, so the steps look evenly spaced.
Tints (lighter)
Shades (darker)
Tones (muted)
Tan as a UI color scale (50–950)
An 11-step scale for design systems, with tan placed at step 300. Copy it as a Tailwind v4 theme below.
Colors that go with tan
Harmonies are computed on the OKLCH hue wheel, keeping tan’s lightness and saturation where the sRGB gamut allows. Open any row in the palette generator to adjust it.
Complementary
EditThe base color and the hue directly opposite it. Maximum contrast; use one as the accent.
Split complementary
EditThe base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.
Tetradic (rectangle)
EditTwo complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.
Is tan accessible? Contrast with white and black
1.97:1
AA fail AA large fail AAA fail
10.64:1
AA pass AA large pass AAA pass
- As a background, tan works best with black text.
- For body text on white, use the darker variant (the closest color that passes AA, 4.5:1).
How tan looks with color blindness
Simulated with the Machado et al. (2009) model. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency.
#c0b489 Red-blind. Reds look dark and brownish; red and green are easily confused.
#c7bb8d Green-blind, the most common strong form. Red, green, orange and brown look similar.
#deaca9 Blue-blind and rare. Blue and green are confused, as are yellow and pink.
#b9b9b9 Total color blindness, very rare. Only lightness differences are visible.
Colors similar to tan
The closest CSS named colors by perceptual distance (ΔE OK; under 2 is hard to tell apart).
Use tan in CSS and Tailwind
CSS custom properties
:root {
--tan: #d2b48c;
--tan-rgb: 210 180 140;
}
.text-tan { color: var(--tan); }
.bg-tan { background-color: var(--tan); }
Tailwind v4 theme
@theme {
--color-tan-50: #f7f7f6;
--color-tan-100: #eeecea;
--color-tan-200: #e1d9d0;
--color-tan-300: #d2b48c;
--color-tan-400: #b59d7e;
--color-tan-500: #988264;
--color-tan-600: #7e6b52;
--color-tan-700: #645643;
--color-tan-800: #4d4336;
--color-tan-900: #3b342b;
--color-tan-950: #221f1a;
}
Make a gradient from tan: open the gradient generator.
Painting in Procreate or designing in Photoshop? See our palette packs: every color with HEX codes is free to browse, and the swatch files are a quick download.