Tan color (#D2B48C)
#D2B48C (Tan) is a light muted orange colour. It is rgb(210, 180, 140) in RGB and hsl(34, 44%, 69%) in HSL. Text in black reads better on it: the contrast is 10.65:1 against black and 1.97:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#D2B48C}:\quad R=\mathrm{D2}_{16}=210,\ G=\mathrm{B4}_{16}=180,\ B=\mathrm{8C}_{16}=140 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
34^\circ + 180^\circ = 214^\circ ;\Rightarrow; \mathrm{#8CAAD2} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#D2B48C} = \mathrm{rgb}(210, 180, 140) \]
\[ \mathrm{#D2B48C}:\quad R=\mathrm{D2}_{16}=210,\ G=\mathrm{B4}_{16}=180,\ B=\mathrm{8C}_{16}=140 \]
\[ H=34^\circ,\quad S=44\%,\quad L=69\% \]
\[ 34^\circ + 180^\circ = 214^\circ ;\Rightarrow; \mathrm{#8CAAD2} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.97:1\ \text{(on white)} \]Tan in every colour format
| Format | Value |
|---|---|
| HEX | #D2B48C |
| RGB | rgb(210, 180, 140) |
| RGB (percent) | rgb(82.4%, 70.6%, 54.9%) |
| HSL | hsl(34, 44%, 69%) |
| HSV / HSB | hsv(34, 33%, 82%) |
| CMYK | cmyk(0%, 14%, 33%, 18%) |
| Decimal | 13808780 |
| Description | light muted orange |
| CSS name | tan |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 1.97:1 | fail | fail | fail | fail |
| Black text | 10.65:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #231E17 #463C2F #695A46 #8C785D #AF9675 |
| This colour | #D2B48C |
| Tints (mixed with white) | #DAC19F #E1CDB2 #E9DAC6 #F0E6D9 #F8F3EC |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #C0B489 | 8 |
| Deuteranopia | #C7BB8D | 8 |
| Tritanopia | #DEACA9 | 20 |
| Grayscale | #B9B9B9 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Burlywood | #DEB887 |
| Wheat | #F5DEB3 |
| Peach puff | #FFDAB9 |
| Navajo white | #FFDEAD |
Questions
What is the RGB value of #D2B48C?
rgb(210, 180, 140): red 210, green 180, blue 140.
What is the HSL value of #D2B48C?
hsl(34, 44%, 69%): a hue of 34°, 44% saturation and 69% lightness.
What is the complementary colour of #D2B48C?
#8CAAD2, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #2D4B73.
Should I use white or black text on #D2B48C?
Black. White gives 1.97:1 and black 10.65:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #D2B48C?
cmyk(0%, 14%, 33%, 18%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #D2B48C a named colour?
Yes: it is the CSS colour name "tan".