Soy Milk color: hex code #D5D2C7
Soy Milk has the hex code #D5D2C7. It is a light, grayish yellow.
In the RGB color model it is made of 83.5% red, 82.4% green and 78% blue (213, 210, 199).
Its hue angle is 47°, with 14% saturation and 81% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 7% yellow and 16% black.
Black text is the more readable choice on this background (contrast 13.87:1).
Soy Milk (#D5D2C7) color codes
| HEX | #D5D2C7 | |
|---|---|---|
| RGB | rgb(213, 210, 199) | |
| RGB percent | rgb(83.5%, 82.4%, 78%) | |
| HSL | hsl(47, 14%, 81%) | |
| HSV / HSB | hsv(47, 7%, 84%) | |
| CMYK | cmyk(0%, 1%, 7%, 16%) | |
| CIE LAB | lab(84.15, -0.9, 5.81) | |
| CIE LCH | lch(84.15, 5.88, 98.78) | |
| CIE XYZ | xyz(60.795, 64.363, 63.242) | |
| Decimal | 14013127 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Soy Milk, 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 #D5D2C7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.87:1 | Pass | Pass | Pass |
| Sample text | 1.51:1 | Fail | Fail | Fail |
| #D5D2C7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.87: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 #D5D2C7 looks to people with the most common types of color vision deficiency.
#d5d1c6Protanopia
no red cones#d5d2c7Deuteranopia
no green cones#d8d0cfTritanopia
no blue cones#d2d2d2Achromatopsia
no color vision
CSS examples
.background { background-color: #d5d2c7; }
.text { color: #d5d2c7; }
.border { border: 2px solid #d5d2c7; }
.transparent { background-color: rgb(213 210 199 / 50%); }
.gradient { background: linear-gradient(to right, #d5d2c7, #d1d5c7); }
Similar colors
#d4d0c5Greybeard#d2cfc4Silver Birch#d2cfc1Lunar Landing#dcd7ccAthena#cfcfc4Pastel Gray#dcd7cdSkyvory#dad9ceFeather#dad7c8Fennec Fox
Closest common color name: Oatmeal.
See #D5D2C7 on its hex code page
Questions
- What color is #D5D2C7?
- #D5D2C7 is a light, grayish yellow known as Soy Milk. It belongs to the gray family of colors.
- What is the RGB value of Soy Milk?
- The RGB value is 213, 210, 199: 213 red, 210 green and 199 blue on a 0 to 255 scale.
- What is the complementary color of Soy Milk?
- The complementary color is #C7CAD5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D5D2C7?
- Black text. Black text has a contrast ratio of 13.87:1 and white text 1.51:1. WCAG asks for at least 4.5:1 for normal text.