Tan #D2B48C
Tan is one of the named colours in CSS, written tan. Black text reaches 10.65:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | tan |
|---|---|
| HEX | #D2B48C |
| RGB | rgb(210 180 140) |
| HSL | hsl(34 44% 69%) |
| OKLCH | oklch(78.6% 0.064 74.6) |
| White text | 1.97:1 · body text AA Fail |
| Black text | 10.65:1 · body text AA Pass |
Colours that go with Tan
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Ecru (#C2AE93), close. These are the colours Wada paired it with, ranked by their contrast with Tan itself.
| Colour | HEX | Contrast with Tan | Body text AA |
|---|---|---|---|
| Dark Tyrian Blue | #12354E | 6.47:1 | Pass |
| Madder Brown | #762C19 | 4.96:1 | Pass |
| Hay's Russet | #793327 | 4.60:1 | Pass |
| Vandar Poel's Blue | #064F6E | 4.53:1 | Pass |
| Taupe Brown | #7A4456 | 3.82:1 | Fail |
| Antwarp Blue | #007190 | 2.83:1 | Fail |
| Dark Medici Blue | #547076 | 2.69:1 | Fail |
| Etruscan Red | #C55347 | 2.26:1 | Fail |
| Raw Sienna | #BB7125 | 1.94:1 | Fail |
| Pale Lemon Yellow | #FFEFAE | 1.71:1 | Fail |
| Lemon Yellow | #F8ED43 | 1.61:1 | Fail |
| Nile Blue | #BCE4E5 | 1.44:1 | Fail |
| Turquoise Green | #B5DECC | 1.34:1 | Fail |
| Light Pinkish Cinnamon | #FCC79B | 1.29:1 | Fail |
| Eosine Pink | #F37F94 | 1.29:1 | Fail |
| Pale King's Blue | #A7D4E4 | 1.24:1 | Fail |
| Cream Yellow | #FDBF68 | 1.20:1 | Fail |
| Isabella Color | #C5A56E | 1.19:1 | Fail |
| Grayish Lavender - B | #C0A9B3 | 1.11:1 | Fail |
| Pinkish Cinnamon | #EEB480 | 1.08:1 | Fail |
| Olive Ocher | #D6B43E | 1.02:1 | Fail |
| Vinaceous Cinnamon | #EEA78C | 1.01:1 | Fail |
Palettes with Ecru
- Combination #167 Ecru · Pale King's Blue · Vandar Poel's Blue
- Combination #249 Hay's Russet · Ecru · Olive Ocher · Dark Medici Blue
- Combination #275 Etruscan Red · Ecru · Madder Brown · Taupe Brown
- Combination #279 Raw Sienna · Vinaceous Cinnamon · Ecru · Dark Tyrian Blue
- Combination #292 Pale Lemon Yellow · Pinkish Cinnamon · Isabella Color · Ecru
- Combination #302 Cream Yellow · Ecru · Nile Blue · Antwarp Blue
- Combination #317 Light Pinkish Cinnamon · Ecru · Lemon Yellow · Turquoise Green
- Combination #327 Eosine Pink · Raw Sienna · Ecru · Grayish Lavender - B
Shades and tints of Tan
Nine lightness steps in OKLCH that keep the hue of Tan. Chroma is reduced only where sRGB cannot show it.
- 100#FFF3E4
- 200#FEDFB6
- 300#E7C8A0
- 400#CAAC84
- 500#AA8D66
- 600#886C46
- 700#6A502B
- 800#4E350E
- 900#301D00
:root {
--tan-100: #FFF3E4;
--tan-200: #FEDFB6;
--tan-300: #E7C8A0;
--tan-400: #CAAC84;
--tan-500: #AA8D66;
--tan-600: #886C46;
--tan-700: #6A502B;
--tan-800: #4E350E;
--tan-900: #301D00;
}
Text that keeps Tan on screen
Text #301D00 on #D2B48C reaches 8.18:1, which passes WCAG AA for body text. Check it on a dashboard