#D2D217 color
The hex color #D2D217 is a vivid yellow.
In the RGB color model it is made of 82.4% red, 82.4% green and 9% blue (210, 210, 23).
Its hue angle is 60°, with 80% saturation and 46% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 89% yellow and 18% black.
The closest named color is Sun Flooded Woods (#D0D418), a difference of 0.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.97:1).
#D2D217 color codes
| HEX | #D2D217 | |
|---|---|---|
| RGB | rgb(210, 210, 23) | |
| RGB percent | rgb(82.4%, 82.4%, 9%) | |
| HSL | hsl(60, 80%, 46%) | |
| HSV / HSB | hsv(60, 89%, 82%) | |
| CMYK | cmyk(0%, 0%, 89%, 18%) | |
| CIE LAB | lab(81.76, -18.35, 79.1) | |
| CIE LCH | lch(81.76, 81.2, 103.06) | |
| CIE XYZ | xyz(49.782, 59.858, 9.742) | |
| Decimal | 13816343 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D2D217, 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 #D2D217 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.97:1 | Pass | Pass | Pass |
| Sample text | 1.62:1 | Fail | Fail | Fail |
| #D2D217 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.97: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 #D2D217 looks to people with the most common types of color vision deficiency.
#e4c900Protanopia
no red cones#e6ce2fDeuteranopia
no green cones#e2c4b3Tritanopia
no blue cones#cbcbcbAchromatopsia
no color vision
CSS examples
.background { background-color: #d2d217; }
.text { color: #d2d217; }
.border { border: 2px solid #d2d217; }
.transparent { background-color: rgb(210 210 23 / 50%); }
.gradient { background: linear-gradient(to right, #d2d217, #75d217); }
Similar colors
#d0d418Sun Flooded Woods#cccc11Golden Harvest#cdd80dGoldzilla#d2db32Bitter Lemon#c6d624Lime Twist#bccb08Cheerly Kiwi#e8d82cBanana Brick#bbcc00Serpent Sceptre
Closest common color name: Dandelion.
Questions
- What color is #D2D217?
- #D2D217 is a vivid yellow, closest to the named color Sun Flooded Woods. It belongs to the yellow family of colors.
- What is the RGB value of #D2D217?
- The RGB value is 210, 210, 23: 210 red, 210 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #D2D217?
- The complementary color is #1717D2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D2D217?
- Black text. Black text has a contrast ratio of 12.97:1 and white text 1.62:1. WCAG asks for at least 4.5:1 for normal text.