#D1D7BA color
The hex color #D1D7BA is a light, desaturated yellow-green.
In the RGB color model it is made of 82% red, 84.3% green and 72.9% blue (209, 215, 186).
Its hue angle is 72°, with 27% saturation and 79% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 13% yellow and 16% black.
The closest named color is Zen Garden (#D1DAC0), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 14.14:1).
#D1D7BA color codes
| HEX | #D1D7BA | |
|---|---|---|
| RGB | rgb(209, 215, 186) | |
| RGB percent | rgb(82%, 84.3%, 72.9%) | |
| HSL | hsl(72, 27%, 79%) | |
| HSV / HSB | hsv(72, 13%, 84%) | |
| CMYK | cmyk(3%, 0%, 13%, 16%) | |
| CIE LAB | lab(84.84, -7.05, 13.63) | |
| CIE LCH | lch(84.84, 15.35, 117.35) | |
| CIE XYZ | xyz(59.457, 65.702, 55.994) | |
| Decimal | 13752250 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D1D7BA, 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 #D1D7BA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.14:1 | Pass | Pass | Pass |
| Sample text | 1.49:1 | Fail | Fail | Fail |
| #D1D7BA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.49:1 | Fail | Fail | Fail |
| Sample text | 14.14: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 #D1D7BA looks to people with the most common types of color vision deficiency.
#dbd4b8Protanopia
no red cones#dbd4bbDeuteranopia
no green cones#d4d4cfTritanopia
no blue cones#d4d4d4Achromatopsia
no color vision
CSS examples
.background { background-color: #d1d7ba; }
.text { color: #d1d7ba; }
.border { border: 2px solid #d1d7ba; }
.transparent { background-color: rgb(209 215 186 / 50%); }
.gradient { background: linear-gradient(to right, #d1d7ba, #c3d7ba); }
Similar colors
#d1dac0Zen Garden#cfd1b2Bitter Melon#dbe0c4Airy Fields#daddc3Planet Earth#d5d7bfMedlar#dee2c7Marble Grape#e1e4c5Frost#dadeb5April Showers
Closest common color name: Oatmeal.
Questions
- What color is #D1D7BA?
- #D1D7BA is a light, desaturated yellow-green, closest to the named color Zen Garden. It belongs to the green family of colors.
- What is the RGB value of #D1D7BA?
- The RGB value is 209, 215, 186: 209 red, 215 green and 186 blue on a 0 to 255 scale.
- What is the complementary color of #D1D7BA?
- The complementary color is #C0BAD7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D1D7BA?
- Black text. Black text has a contrast ratio of 14.14:1 and white text 1.49:1. WCAG asks for at least 4.5:1 for normal text.