#D2E2AF color
The hex color #D2E2AF is a light, desaturated yellow-green.
In the RGB color model it is made of 82.4% red, 88.6% green and 68.6% blue (210, 226, 175).
Its hue angle is 79°, with 47% saturation and 79% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 23% yellow and 11% black.
The closest named color is Frozen Forest (#CFE8B6), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 15.24:1).
#D2E2AF color codes
| HEX | #D2E2AF | |
|---|---|---|
| RGB | rgb(210, 226, 175) | |
| RGB percent | rgb(82.4%, 88.6%, 68.6%) | |
| HSL | hsl(79, 47%, 79%) | |
| HSV / HSB | hsv(79, 23%, 89%) | |
| CMYK | cmyk(7%, 0%, 23%, 11%) | |
| CIE LAB | lab(87.58, -13.96, 23.21) | |
| CIE LCH | lch(87.58, 27.08, 121.03) | |
| CIE XYZ | xyz(61.512, 71.189, 51.05) | |
| Decimal | 13820591 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D2E2AF, 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 #D2E2AF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.24:1 | Pass | Pass | Pass |
| Sample text | 1.38:1 | Fail | Fail | Fail |
| #D2E2AF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.24: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 #D2E2AF looks to people with the most common types of color vision deficiency.
#e8dcacProtanopia
no red cones#e6dcb1Deuteranopia
no green cones#d6ddd4Tritanopia
no blue cones#dbdbdbAchromatopsia
no color vision
CSS examples
.background { background-color: #d2e2af; }
.text { color: #d2e2af; }
.border { border: 2px solid #d2e2af; }
.transparent { background-color: rgb(210 226 175 / 50%); }
.gradient { background: linear-gradient(to right, #d2e2af, #b8e2af); }
Similar colors
#cfe8b6Frozen Forest#ddedbdMellow Mint#d9e6a6Mermaid Tears#e5edb5Sour#dadeb5April Showers#dcf1c7Green Glint#d0f0c0Maroccan Tea#c6e1bcAmbrosia
Closest common color name: Pale Goldenrod.
Questions
- What color is #D2E2AF?
- #D2E2AF is a light, desaturated yellow-green, closest to the named color Frozen Forest. It belongs to the green family of colors.
- What is the RGB value of #D2E2AF?
- The RGB value is 210, 226, 175: 210 red, 226 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #D2E2AF?
- The complementary color is #BFAFE2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D2E2AF?
- Black text. Black text has a contrast ratio of 15.24:1 and white text 1.38:1. WCAG asks for at least 4.5:1 for normal text.