#D2D7C7 color
The hex color #D2D7C7 is a light, grayish yellow-green.
In the RGB color model it is made of 82.4% red, 84.3% green and 78% blue (210, 215, 199).
Its hue angle is 79°, with 17% saturation and 81% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 7% yellow and 16% black.
The closest named color is Smell of Garlic (#D9DDCB), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 14.29:1).
#D2D7C7 color codes
| HEX | #D2D7C7 | |
|---|---|---|
| RGB | rgb(210, 215, 199) | |
| RGB percent | rgb(82.4%, 84.3%, 78%) | |
| HSL | hsl(79, 17%, 81%) | |
| HSV / HSB | hsv(79, 7%, 84%) | |
| CMYK | cmyk(2%, 0%, 7%, 16%) | |
| CIE LAB | lab(85.21, -4.54, 7.3) | |
| CIE LCH | lch(85.21, 8.6, 121.86) | |
| CIE XYZ | xyz(61.186, 66.426, 63.62) | |
| Decimal | 13817799 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D2D7C7, 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 #D2D7C7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.29:1 | Pass | Pass | Pass |
| Sample text | 1.47:1 | Fail | Fail | Fail |
| #D2D7C7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.47:1 | Fail | Fail | Fail |
| Sample text | 14.29: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 #D2D7C7 looks to people with the most common types of color vision deficiency.
#d9d5c6Protanopia
no red cones#d9d5c8Deuteranopia
no green cones#d4d5d2Tritanopia
no blue cones#d5d5d5Achromatopsia
no color vision
CSS examples
.background { background-color: #d2d7c7; }
.text { color: #d2d7c7; }
.border { border: 2px solid #d2d7c7; }
.transparent { background-color: rgb(210 215 199 / 50%); }
.gradient { background: linear-gradient(to right, #d2d7c7, #cad7c7); }
Similar colors
#d9ddcbSmell of Garlic#d9dfcdGin#dbe0d0Feta#d0d1c1Wishing Well#dce0cdGentle Frost#d4d8ceLuna#dde3d5Water Lily#d5d7bfMedlar
Closest common color name: Oatmeal.
Questions
- What color is #D2D7C7?
- #D2D7C7 is a light, grayish yellow-green, closest to the named color Smell of Garlic. It belongs to the green family of colors.
- What is the RGB value of #D2D7C7?
- The RGB value is 210, 215, 199: 210 red, 215 green and 199 blue on a 0 to 255 scale.
- What is the complementary color of #D2D7C7?
- The complementary color is #CCC7D7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D2D7C7?
- Black text. Black text has a contrast ratio of 14.29:1 and white text 1.47:1. WCAG asks for at least 4.5:1 for normal text.