#D7CDA2 color
The hex color #D7CDA2 is a light, desaturated yellow.
In the RGB color model it is made of 84.3% red, 80.4% green and 63.5% blue (215, 205, 162).
Its hue angle is 49°, with 40% saturation and 74% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 25% yellow and 16% black.
The closest named color is Gratin Dauphinois (#E0D2A9), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 13.14:1).
#D7CDA2 color codes
| HEX | #D7CDA2 | |
|---|---|---|
| RGB | rgb(215, 205, 162) | |
| RGB percent | rgb(84.3%, 80.4%, 63.5%) | |
| HSL | hsl(49, 40%, 74%) | |
| HSV / HSB | hsv(49, 25%, 84%) | |
| CMYK | cmyk(0%, 5%, 25%, 16%) | |
| CIE LAB | lab(82.23, -3.29, 22.71) | |
| CIE LCH | lch(82.23, 22.95, 98.24) | |
| CIE XYZ | xyz(56.377, 60.719, 42.926) | |
| Decimal | 14142882 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D7CDA2, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #D7CDA2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.14:1 | Pass | Pass | Pass |
| Sample text | 1.6:1 | Fail | Fail | Fail |
| #D7CDA2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.6:1 | Fail | Fail | Fail |
| Sample text | 13.14:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #D7CDA2 looks to people with the most common types of color vision deficiency.
#d6ca9fProtanopia
no red cones#d9cea3Deuteranopia
no green cones#e0c7c1Tritanopia
no blue cones#cdcdcdAchromatopsia
no color vision
CSS examples
.background { background-color: #d7cda2; }
.text { color: #d7cda2; }
.border { border: 2px solid #d7cda2; }
.transparent { background-color: rgb(215 205 162 / 50%); }
.gradient { background: linear-gradient(to right, #d7cda2, #c7d7a2); }
Similar colors
#e0d2a9Gratin Dauphinois#ddd3aeStardust#e0d1a0Woven#d3cfabCrystal Palace#ddcda6Ancestral Gold#ddcc99Desert Temple#d4c990Golden Mist#cecb97Court-Bouillon
Closest common color name: Buff.
Questions
- What color is #D7CDA2?
- #D7CDA2 is a light, desaturated yellow, closest to the named color Gratin Dauphinois. It belongs to the beige family of colors.
- What is the RGB value of #D7CDA2?
- The RGB value is 215, 205, 162: 215 red, 205 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #D7CDA2?
- The complementary color is #A2ACD7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D7CDA2?
- Black text. Black text has a contrast ratio of 13.14:1 and white text 1.6:1. WCAG asks for at least 4.5:1 for normal text.