Tan Color
Tan is a light, warm brown. Its hex code is #D2B48C, which is rgb(210, 180, 140) in RGB, hsl(34, 44%, 69%) in HSL and cmyk(0%, 14%, 33%, 18%) in CMYK. It is a standard named color in CSS, so you can write it as tan in a stylesheet.
#D2B48Cexactly tan
This is the CSS color tan #D2B48C
Use 3 or 6 digits, for example #1E90FF or 19F
For example rgb(30, 144, 255) or 30 144 255
For example hsl(210, 100%, 56%)
For example cmyk(88%, 44%, 0%, 0%)
Recent colors
Colors you pick appear here. They stay on this device.
By the Hex Color Picker Team. Updated
Tan color codes
- Hex:
#D2B48C - RGB:
rgb(210, 180, 140) - HSL:
hsl(34, 44%, 69%) - CMYK:
cmyk(0%, 14%, 33%, 18%)(standard formula, not a print profile) - CSS name:
tan
About the color tan
Tan has a mid-high red, slightly lower green and lower blue, which gives the look of sand, canvas or leather.
Where tan works
- Neutral backgrounds and warm panels.
- Craft, outdoor and leather-goods brands.
- Pairing with brown text or darker earthy accents.
Colors that go with tan
These named colors pair well with tan. Click one to see its page where it exists.
The complementary color of tan, directly opposite it on the color wheel, is #8CAAD2, closest to darkgray. The analogous neighbors are #D2918C and #CDD28C, and the triadic partners are #8CD2B4 and #B48CD2. The color palette generator builds a full scheme from any of them.
Named colors nearest to tan are burlywood, darkkhaki, and sandybrown.
Shades and tints of tan
Keeping the hue and saturation of tan and stepping the lightness from light to dark gives this scale. Use the lighter values for backgrounds and the darker ones for text and borders.
- #F8F3ED
- #E8D8C3
- #D8BD9A
- #C7A271
- #B78748
- #8E6938
- #654B27
- #3C2C17
- #120E07
Contrast and accessibility
White text on tan has a contrast ratio of 2.0:1, and black text has 10.6:1. The WCAG AA guideline asks for at least 4.5:1 for body text and 3:1 for large text. Black text passes on tan, and white text does not.
Tan carries dark text but not white text.
Common questions
What is the hex code for tan?
The hex code for tan is #D2B48C. In RGB it is rgb(210, 180, 140) and in HSL it is hsl(34, 44%, 69%).
What is the difference between tan and beige?
Beige is a pale near-white. Tan is darker and more saturated, with a clear brown tone.
Is white text readable on tan?
Not for body text. White on tan has a contrast ratio of 2.0:1, below the 4.5:1 WCAG AA guideline. Black text has a ratio of 10.6:1, which passes.