#D7CDA8 color
The hex color #D7CDA8 is a light, desaturated yellow.
In the RGB color model it is made of 84.3% red, 80.4% green and 65.9% blue (215, 205, 168).
Its hue angle is 47°, with 37% saturation and 75% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 22% yellow and 16% black.
The closest named color is Stardust (#DDD3AE), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 13.19:1).
#D7CDA8 color codes
| HEX | #D7CDA8 | |
|---|---|---|
| RGB | rgb(215, 205, 168) | |
| RGB percent | rgb(84.3%, 80.4%, 65.9%) | |
| HSL | hsl(47, 37%, 75%) | |
| HSV / HSB | hsv(47, 22%, 84%) | |
| CMYK | cmyk(0%, 5%, 22%, 16%) | |
| CIE LAB | lab(82.35, -2.44, 19.71) | |
| CIE LCH | lch(82.35, 19.86, 97.07) | |
| CIE XYZ | xyz(56.923, 60.938, 45.802) | |
| Decimal | 14142888 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D7CDA8, 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 #D7CDA8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.19:1 | Pass | Pass | Pass |
| Sample text | 1.59:1 | Fail | Fail | Fail |
| #D7CDA8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.19: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 #D7CDA8 looks to people with the most common types of color vision deficiency.
#d5cba6Protanopia
no red cones#d8cea9Deuteranopia
no green cones#dfc7c3Tritanopia
no blue cones#cdcdcdAchromatopsia
no color vision
CSS examples
.background { background-color: #d7cda8; }
.text { color: #d7cda8; }
.border { border: 2px solid #d7cda8; }
.transparent { background-color: rgb(215 205 168 / 50%); }
.gradient { background: linear-gradient(to right, #d7cda8, #cad7a8); }
Similar colors
#ddd3aeStardust#e0d2a9Gratin Dauphinois#ddcda6Ancestral Gold#d8caa9Fiji Sands#d3cfabCrystal Palace#ddd5b6Banana Frappé#e1d9b8Sesame Seed#e5d5aeAnise Biscotti
Closest common color name: Buff.
Questions
- What color is #D7CDA8?
- #D7CDA8 is a light, desaturated yellow, closest to the named color Stardust. It belongs to the beige family of colors.
- What is the RGB value of #D7CDA8?
- The RGB value is 215, 205, 168: 215 red, 205 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #D7CDA8?
- The complementary color is #A8B2D7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D7CDA8?
- Black text. Black text has a contrast ratio of 13.19:1 and white text 1.59:1. WCAG asks for at least 4.5:1 for normal text.