Tan Color (#D2B48C)

#D2B48Crgb(210, 180, 140)

Tan is a CSS named color defined as hex code #D2B48C. Tan is a light, muted brown-beige with moderate saturation, the color of light leather and sand.

Color Overview & Formats

CSS: tanLuminance: 0.4824
HEX
#D2B48C
RGB
rgb(210, 180, 140)
HSL
hsl(34, 44%, 69%)
Tan (#D2B48C) Color Format Conversions
FormatSyntax / ValuesNotesAction
HEX#D2B48C6-digit hex web code
RGBrgb(210, 180, 140)Red, Green, Blue channels (0-255)
HSLhsl(34, 44%, 69%)Hue (34°), Saturation (44%), Lightness (69%)
HSV / HSBhsv(34, 33%, 82%)Hue, Saturation (33%), Value/Brightness (82%)
CMYKcmyk(0%, 14%, 33%, 18%)Digital mathematical approximation (non-print)
OKLCHoklch(0.786 0.064 74.6)Perceptually uniform color space (CSS Color 4 approximation)
CSS Implementation & Quick Steps
background-color: #D2B48C; /* or tan */
  1. Select color format: Choose the desired format (HEX #D2B48C, RGB, or HSL).
  2. Copy the code: Click the copy button or press Tab+Enter to store in clipboard.
  3. Pair with black text: Black text on Tan reaches 10.65:1 (WCAG AAA).

What Colors Go With Tan?

These 6 colors all go well with Tan (#D2B48C), and each one is a standard CSS named color. The ratio is the WCAG 2.2 contrast of that color on Tan: at 4.5:1 or above it works for text; below that, use it for backgrounds and accents.

Black

#000000
10.65:1Text-safe

Strong, readable text on tan.

Navy

#000080
8.12:1Text-safe

A deep blue that gives readable text and a crisp contrast.

4.53:1Text-safe

A dark neutral for body text.

3.6:1Background / accent

A deeper tonal brown for headings and outlines.

Maroon

#800000
5.55:1Text-safe

A deep red for warm, readable accents.

Ivory

#FFFFF0
1.95:1Background / accent

A warm off-white for backgrounds and spacing.

Harmonious Palettes & Tints

The palettes below are algorithmically generated across standard intervals based on Tan (HSL 34°). Each group offers full palette copy and live preview:

Complementary Harmony

Hue rotated 180 degrees on the HSL wheel (34° to 214°), keeping the original saturation and lightness.

Tan
#D2B48C
Complement (214°)
#8CAAD2
Live UI Component Mockup
Component Header SampleBlack text on Tan: 10.65:1 (WCAG AAA).
Button style preview

Analogous Harmony

Hues 30 degrees either side (4° and 64°), keeping the original saturation and lightness.

Analogous (4°)
#D2918C
Tan
#D2B48C
Analogous (64°)
#CDD28C
Live UI Component Mockup
Component Header SampleBlack text on Tan: 10.65:1 (WCAG AAA).
Button style preview

Triadic Harmony

Hues spaced evenly by 120 degrees (154° and 274°), keeping the original saturation and lightness.

Tan
#D2B48C
Triadic (154°)
#8CD2B4
Triadic (274°)
#B48CD2
Live UI Component Mockup
Component Header SampleBlack text on Tan: 10.65:1 (WCAG AAA).
Button style preview

Tints & Shades

Mixed with white (tints) and black (shades) in sRGB at 60% and 30%.

Tint 60%
#EDE1D1
Tint 30%
#E0CBAF
Tan
#D2B48C
Shade 30%
#937E62
Shade 60%
#544838
Live UI Component Mockup
Component Header SampleBlack text on Tan: 10.65:1 (WCAG AAA).
Button style preview

WCAG 2.2 Text Readability & Contrast Check

Under WCAG 2.2 criteria, regular body text requires at least 4.5:1 (AA) and large text requires at least 3.0:1. The table below displays calculated contrast ratios:

Text Contrast Ratios on Tan (#D2B48C)
Foreground ColorContrast RatioNormal Text (AA)Large Text (AA)Normal Text AAA (>= 7.0:1)
Pure Black (#000000)
10.65:1PassPassPass
Pure White (#FFFFFF)
1.97:1FailFailFail
Dark Charcoal (#212529)
7.82:1PassPassPass
Mid Gray (#666666)
2.91:1FailFailFail

Interactive Contrast Tester

Enter text foreground and background colors to verify WCAG legibility:

Calculated Ratio:
10.65:1
Normal: Pass AAALarge: Pass AAA
Large Heading Sample (18pt Bold)

This is sample body text rendered directly to verify contrast and readability.

Tan Background Download

Download standard 1920x1080 solid desktop wallpaper or generate mobile wallpaper:

Tan 1920x1080 solid color background wallpaper previewStandard Wallpaper: 1920x1080 PNG (#D2B48C)

Download Options

All wallpaper files precisely match the W3C standard color value:

Download 1920x1080 PNG

CSS Standard & Usage Notes

tan = #d2b48c (rgb(210, 180, 140))
W3C CSS Color 4

UI Design & Accessibility Guidelines

Use it for neutral backgrounds, leather and canvas themes, cards and earthy palettes. On Tan, black text passes WCAG AAA at every size (10.65:1); white text fails even for large text (1.97:1).

Published: · Modified: · Editorial: SwatchAtlas Editorial Team

Frequently Asked Questions (FAQ)

Can I use black text on Tan?

Yes. Black text on Tan has a WCAG 2.2 contrast ratio of 10.65:1, passing both AA (4.5:1) and AAA (7:1) at every text size.

Can I use white text on Tan?

No. White text on Tan has a WCAG 2.2 contrast ratio of only 1.97:1, below the 3:1 minimum even for large text.

What colors go with Tan?

Black, Navy, Dark Slate Gray, Saddle Brown, Maroon and Ivory all go well with Tan. Black (10.65:1), Navy (8.12:1), Dark Slate Gray (4.53:1) and Maroon (5.55:1) have enough contrast for text on Tan; Saddle Brown and Ivory work better as a background or accent.

What is the difference between tan and beige?

Beige (#F5F5DC) is much lighter and closer to a pale cream, while Tan (#D2B48C) is a distinctly brown mid-light color. Their relative luminance is 0.482 for tan against about 0.9 for beige.