#D4D8CC color
The hex color #D4D8CC is a very light, grayish yellow-green.
In the RGB color model it is made of 83.1% red, 84.7% green and 80% blue (212, 216, 204).
Its hue angle is 80°, with 13% saturation and 82% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 6% yellow and 15% black.
The closest named color is Luna (#D4D8CE), a difference of 0.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 14.49:1).
#D4D8CC color codes
| HEX | #D4D8CC | |
|---|---|---|
| RGB | rgb(212, 216, 204) | |
| RGB percent | rgb(83.1%, 84.7%, 80%) | |
| HSL | hsl(80, 13%, 82%) | |
| HSV / HSB | hsv(80, 6%, 85%) | |
| CMYK | cmyk(2%, 0%, 6%, 15%) | |
| CIE LAB | lab(85.74, -3.5, 5.44) | |
| CIE LCH | lch(85.74, 6.47, 122.75) | |
| CIE XYZ | xyz(62.605, 67.468, 66.84) | |
| Decimal | 13949132 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D4D8CC, 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 #D4D8CC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.49:1 | Pass | Pass | Pass |
| Sample text | 1.45:1 | Fail | Fail | Fail |
| #D4D8CC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.49: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 #D4D8CC looks to people with the most common types of color vision deficiency.
#dad6cbProtanopia
no red cones#d9d6ccDeuteranopia
no green cones#d5d7d4Tritanopia
no blue cones#d6d6d6Achromatopsia
no color vision
CSS examples
.background { background-color: #d4d8cc; }
.text { color: #d4d8cc; }
.border { border: 2px solid #d4d8cc; }
.transparent { background-color: rgb(212 216 204 / 50%); }
.gradient { background: linear-gradient(to right, #d4d8cc, #ced8cc); }
Similar colors
#d4d8ceLuna#dbe0d0Feta#dad9ceFeather#d0d1c1Wishing Well#dadad1Alaska#d9ddcbSmell of Garlic#dde3d5Water Lily#cfcfc4Pastel Gray
Closest common color name: Oatmeal.
Questions
- What color is #D4D8CC?
- #D4D8CC is a very light, grayish yellow-green, closest to the named color Luna. It belongs to the green family of colors.
- What is the RGB value of #D4D8CC?
- The RGB value is 212, 216, 204: 212 red, 216 green and 204 blue on a 0 to 255 scale.
- What is the complementary color of #D4D8CC?
- The complementary color is #D0CCD8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D4D8CC?
- Black text. Black text has a contrast ratio of 14.49:1 and white text 1.45:1. WCAG asks for at least 4.5:1 for normal text.