#D2C84D color
The hex color #D2C84D is a moderate yellow.
In the RGB color model it is made of 82.4% red, 78.4% green and 30.2% blue (210, 200, 77).
Its hue angle is 55°, with 60% saturation and 56% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 63% yellow and 18% black.
The closest named color is Salsa Verde (#CEC754), a difference of 1.3 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.11:1).
#D2C84D color codes
| HEX | #D2C84D | |
|---|---|---|
| RGB | rgb(210, 200, 77) | |
| RGB percent | rgb(82.4%, 78.4%, 30.2%) | |
| HSL | hsl(55, 60%, 56%) | |
| HSV / HSB | hsv(55, 63%, 82%) | |
| CMYK | cmyk(0%, 5%, 63%, 18%) | |
| CIE LAB | lab(79.36, -11.26, 60.69) | |
| CIE LCH | lch(79.36, 61.73, 100.51) | |
| CIE XYZ | xyz(48.574, 55.548, 15.183) | |
| Decimal | 13813837 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D2C84D, 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 #D2C84D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.11:1 | Pass | Pass | Pass |
| Sample text | 1.73:1 | Fail | Fail | Fail |
| #D2C84D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.11: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 #D2C84D looks to people with the most common types of color vision deficiency.
#d9c13eProtanopia
no red cones#dcc754Deuteranopia
no green cones#e1bbaeTritanopia
no blue cones#c5c5c5Achromatopsia
no color vision
CSS examples
.background { background-color: #d2c84d; }
.text { color: #d2c84d; }
.border { border: 2px solid #d2c84d; }
.transparent { background-color: rgb(210 200 77 / 50%); }
.gradient { background: linear-gradient(to right, #d2c84d, #9ad24d); }
Similar colors
#cec754Salsa Verde#d9c948Lanky Lemon#d4cb60Quince#d5ce69Force of Nature#ddc75bDuck Butter#e0c84bGolden Kingdom#ddca69Pirate Treasure#ead765Pharaoh’s Gold
Closest common color name: Dandelion.
Questions
- What color is #D2C84D?
- #D2C84D is a moderate yellow, closest to the named color Salsa Verde. It belongs to the yellow family of colors.
- What is the RGB value of #D2C84D?
- The RGB value is 210, 200, 77: 210 red, 200 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #D2C84D?
- The complementary color is #4D57D2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D2C84D?
- Black text. Black text has a contrast ratio of 12.11:1 and white text 1.73:1. WCAG asks for at least 4.5:1 for normal text.