On this page
This page gives every code format, shows how tan differs from beige, khaki and camel, and lists the colors that pair with it. It also covers contrast numbers I calculated, so you can use tan in UI, print and interiors without surprises. The palette maker above builds monochrome, analogous, complementary, triadic and split palettes from tan, with copyable codes.
Tan Hex Code, RGB, HSL and CMYK Values
A hex code is three pairs of base 16 digits, one each for red, green and blue. In , D2 is 210, B4 is 180 and 8C is 140. Red leads, green sits in the middle and blue is lowest, and that spread is what pushes the color toward warm yellow-brown instead of grey.
| Format | Tan value |
|---|---|
| HEX | |
| RGB | rgb(210, 180, 140) |
| HSL | hsl(34, 44%, 69%) |
| HSV | hsv(34, 33%, 82%) |
| CMYK | cmyk(0%, 14%, 33%, 18%) |
| CSS keyword | tan |
In percentage terms, tan is about 82% red, 71% green and 55% blue. The CMYK line is a straight mathematical conversion. Presses and paper stocks never behave that cleanly, so treat it as a starting point and ask your printer for a proof.
What Tan Looks Like on Screen and Paper
Tan is a mid-light brown with a dusty, muted quality. Its lightness is 69% and its saturation is 44%, which puts it well away from both bright orange and pale cream. Think of suede, canvas, an old manila folder or sun-dried grass.
A desaturated orange at hue 34 degrees, light enough to act as a background and dark enough to still look like a color.
It is a forgiving neutral. Because it leans warm, it makes white look crisp and charcoal look soft. On screen it can look slightly pinker or yellower depending on the display’s white point, so check it on at least two devices before you lock it into a brand.
Tan vs Beige, Khaki, Camel and Sand
People mix these names up constantly, and the hex codes show why. Several of them share tan’s hue and differ only in lightness.
- Camel : hue about 33 degrees, so the same family as tan but visibly darker and deeper.
- Burlywood : hue about 34 degrees, a lighter and slightly brighter step up.
- Sand : hue near 46 degrees, which makes it greener and more olive.
- Khaki : the clothing version, greyer and quieter than tan.
- Beige : hue 60 degrees and very pale, closer to a greenish cream.
The CSS keyword khaki is a trap. It is , a lemony yellow that looks nothing like the trousers the word usually brings to mind. If you want the fabric color, use or tan itself.
Which of these shares tan's hue but is simply darker?
Camel sits at about 33 degrees on the hue wheel, almost exactly where tan sits at 34, so it reads as a deeper version of the same color.
Where the Color Name Tan Comes From
The color is named after the tanbark once used to tan leather. That is why tan reads as a leather color and why it feels so natural on boots, belts and bags. The word also describes sun-browned skin, but the swatch on this page is the leather sense.
The digital version has a clear paper trail. The CSS keyword tan comes from the X11 color list, and Merriam-Webster calls tan a light yellowish brown. Older color dictionaries disagree: a 1930 reference by Maerz and Paul describes its tan as a darker, brownish orange. So when someone says “tan”, they may mean a range of colors, and is only the web standard.
Tan Shades and Tints You Can Copy
Lighter tints for backgrounds
Mixing tan with white gives you quiet surface colors that still feel related to the original. These are straight mixes, so they stay in the same hue family.
- 25% white:
- 50% white:
- 75% white:
Darker shades for text and borders
Mixing with black gives usable brown tones. A 25% black mix is , good for borders and icons. A 50% black mix is , which works for secondary text on a pale tint.

If you need a true dark brown for headlines, go further than a mix. Something like keeps a hint of warmth that pure black lacks.
Colors That Go With Tan
Tan loves depth. Dark, cool colors give it contrast and keep it from looking washed out. Forest green is a natural partner, since both feel organic and the green holds its own against tan’s softness. For something crisper, a strong azure blue sits opposite tan on the wheel and makes it glow.
The geometric harmonies for tan are easy to read as hex codes:
- Complementary: , a dusty blue
- Analogous: (rosy) and (olive)
- Triadic: (mint) and (lavender)
- Split complementary: and
Try this: Put tan as a block next to and then next to . Notice how the pale blue feels soft and airy while the green feels grounded, then pick the mood your project needs.
For a richer, more unexpected pairing, try a deep plum purple. Its cool red undertone makes tan look expensive. Keep the plum dark and use tan as the large field.
Tan Color Palettes Ready to Use
The palettes below follow the usual proportion rule: a large field of one color, a supporting color, and a small sharp accent. Tan works best as the field or the supporting tone, with a dark color doing the heavy lifting for text.
Warm brand identities, craft shops, coffee labels and packaging.
Outdoor brands, eco products and calm website sections with strong text contrast.
Interior mood boards, boutique hotels and soft editorial layouts.
Fashion lookbooks, workwear sites and friendly app interfaces.
If you want a seasonal feel, tan slots into the warm earth tones of November colors without any adjustment. Pair it with burnt orange, moss and deep brown for an autumn set.
Using Tan in Web and UI Design
Tan is a good surface color for earthy, craft or lifestyle products. It feels warmer than grey and calmer than cream. A neat setup is to store it as a variable and derive tints from it:
:root {
--tan: #D2B48C;
--tan-light: #F4ECE2;
--tan-dark: #9E8769;
--ink: #222222;
}
.card { background: var(--tan-light); border: 1px solid var(--tan); }
.button { background: var(--tan); color: var(--ink); }
.hero { background: linear-gradient(135deg, #F4ECE2, #D2B48C, #9E8769); }
That gradient moves from tint to base to shade, a soft warm sweep. If you want a more dramatic warm blend, the sunset gradient page shows how orange and pink can flow into earthy tones like tan.
In dark mode, tan works as an accent. On a near-black background it has plenty of presence, and it feels more refined than a bright orange.
Tan Contrast and WCAG Accessibility
Here are the real numbers for tan , calculated from its relative luminance. On white it scores 1.97:1. On black it scores 10.64:1. On charcoal it scores about 8.1:1, and with a deep green like it reaches roughly 4.6:1.
Which text color gives the best contrast on a tan #D2B48C button?
Charcoal reaches about 8.1:1 on tan, while white manages only 1.97:1 and cream is lighter still.
WCAG asks for 4.5:1 for normal text and 3:1 for large text and interface components. White on tan fails both. I once inherited a shop site where every button was white text on tan, and users kept missing the labels. Swapping the text to fixed it without touching the brand color.

The takeaway is simple: tan is a background, not a text color on light pages. As text it needs a dark surface behind it, where it performs very well.
Tan in Branding, Interiors, Fashion and Print
In branding, tan signals craft, reliability and natural materials. I have used it as the base for a leather goods client, where it stood in for the product itself. It is easy to pair with a single bold accent, so it supports a logo instead of competing with it.
In interiors, tan walls and upholstery warm a room without the yellow cast of cream. Soft cool greys such as pastel gray keep it from feeling heavy. In fashion, it is the chino, trench and boot color that goes with almost everything.
Print is where tan can surprise you. On a kraft box job, a tan I had specified almost vanished into the board, and only a proof showed the problem. On coated stock it stays warm, while on uncoated paper it flattens and goes greyer, so always request a physical proof.
For painters, tan is easy to mix: start with white, add a little yellow ochre and burnt umber, then adjust with a touch of red to warm it up.
Colors close to tan
Tan Color: questions people ask
What is the hex code for tan?
The hex code for tan is #D2B48C. It is also the CSS color keyword tan, so background-color: tan and background-color: #D2B48C give the same result in a browser.
What are the RGB, HSL and CMYK values of tan?
Tan is rgb(210, 180, 140) and hsl(34, 44%, 69%). A simple conversion to print gives cmyk(0%, 14%, 33%, 18%), though a real press profile will shift those numbers slightly.
What is the difference between tan and beige?
Tan (#D2B48C) is darker and more orange-brown. Beige (#F5F5DC) is a pale, slightly greenish cream that sits far higher in lightness.
What colors go well with tan?
Deep, cool colors make tan look rich: charcoal, navy, forest green and plum. Cream and warm white soften it, and a muted blue such as #8CAAD2 works as its complement.
Can I put white text on a tan background?
It is a poor choice. White on #D2B48C has a contrast ratio of 1.97:1, well under the 4.5:1 WCAG asks for body text. Use near-black text instead, which reaches about 8.1:1.
Keep exploring
- Honey Blonde Color: Hex Code, RGB and Palettes
- Light Green Color: Hex Code, RGB and Palettes
- Lavender Color: Hex Code, RGB and Palettes
- Mint Green Color: Hex Code, RGB and Palettes
- Cream Color: Hex Code, RGB and Palettes
- Dark Grey Color: Hex Code, RGB and Palettes
- Pink and Purple Color Combination: Palettes and Hex Codes
- Skin Tone Hex Codes: Realistic Skin Color Palettes