#D2B48C
tan
#D2B48C is a orange colour. In RGB it is 210 red, 180 green and 140 blue, which converts to a hue of 34 degrees, 44% saturation and 69% lightness. It is one of the named CSS colours, written as tan in stylesheets.
Color values
| HEX | #D2B48C |
|---|---|
| RGB | rgb(210, 180, 140) |
| HSL | hsl(34, 44%, 69%) |
| HSV | hsv(34, 33%, 82%) |
| CMYK | cmyk(0%, 14%, 33%, 18%) |
Contrast and accessibility
Against white the contrast ratio is 1.97:1, and against black it is 10.65:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 1.97:1 | Fail | Fail |
| Black | 10.65:1 | AAA | AAA |
Tints and shades
Lighter tints move #D2B48C toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #D2B48C; |
|---|---|
| CSS rgb() | color: rgb(210 180 140); |
| Tailwind | bg-[#d2b48c] |
| SwiftUI | Color(red: 0.824, green: 0.706, blue: 0.549) |
| Android | Color.parseColor("#D2B48C") |