#D4D4C7 color
The hex color #D4D4C7 is a light, grayish yellow.
In the RGB color model it is made of 83.1% red, 83.1% green and 78% blue (212, 212, 199).
Its hue angle is 60°, with 13% saturation and 81% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 6% yellow and 17% black.
The closest named color is Pastel Gray (#CFCFC4), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 14.04:1).
#D4D4C7 color codes
| HEX | #D4D4C7 | |
|---|---|---|
| RGB | rgb(212, 212, 199) | |
| RGB percent | rgb(83.1%, 83.1%, 78%) | |
| HSL | hsl(60, 13%, 81%) | |
| HSV / HSB | hsv(60, 6%, 83%) | |
| CMYK | cmyk(0%, 0%, 6%, 17%) | |
| CIE LAB | lab(84.59, -2.29, 6.43) | |
| CIE LCH | lch(84.59, 6.82, 109.59) | |
| CIE XYZ | xyz(61.002, 65.208, 63.394) | |
| Decimal | 13948103 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D4D4C7, 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 #D4D4C7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.04:1 | Pass | Pass | Pass |
| Sample text | 1.5:1 | Fail | Fail | Fail |
| #D4D4C7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 14.04: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 #D4D4C7 looks to people with the most common types of color vision deficiency.
#d7d3c6Protanopia
no red cones#d7d3c7Deuteranopia
no green cones#d6d2d0Tritanopia
no blue cones#d3d3d3Achromatopsia
no color vision
CSS examples
.background { background-color: #d4d4c7; }
.text { color: #d4d4c7; }
.border { border: 2px solid #d4d4c7; }
.transparent { background-color: rgb(212 212 199 / 50%); }
.gradient { background: linear-gradient(to right, #d4d4c7, #ced4c7); }
Similar colors
#cfcfc4Pastel Gray#d0d1c1Wishing Well#dad9ceFeather#dad7c8Fennec Fox#d2cfc1Lunar Landing#d5d2c7Soy Milk#d2cfc4Silver Birch#d4d8ceLuna
Closest common color name: Oatmeal.
Questions
- What color is #D4D4C7?
- #D4D4C7 is a light, grayish yellow, closest to the named color Pastel Gray. It belongs to the gray family of colors.
- What is the RGB value of #D4D4C7?
- The RGB value is 212, 212, 199: 212 red, 212 green and 199 blue on a 0 to 255 scale.
- What is the complementary color of #D4D4C7?
- The complementary color is #C7C7D4, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D4D4C7?
- Black text. Black text has a contrast ratio of 14.04:1 and white text 1.5:1. WCAG asks for at least 4.5:1 for normal text.