#D2CC3D color
The hex color #D2CC3D is a moderate yellow.
In the RGB color model it is made of 82.4% red, 80% green and 23.9% blue (210, 204, 61).
Its hue angle is 58°, with 62% saturation and 53% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 71% yellow and 18% black.
The closest named color is Golden Harvest (#CCCC11), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 12.44:1).
#D2CC3D color codes
| HEX | #D2CC3D | |
|---|---|---|
| RGB | rgb(210, 204, 61) | |
| RGB percent | rgb(82.4%, 80%, 23.9%) | |
| HSL | hsl(58, 62%, 53%) | |
| HSV / HSB | hsv(58, 71%, 82%) | |
| CMYK | cmyk(0%, 3%, 71%, 18%) | |
| CIE LAB | lab(80.31, -14.15, 67.87) | |
| CIE LCH | lch(80.31, 69.33, 101.78) | |
| CIE XYZ | xyz(49.015, 57.226, 12.878) | |
| Decimal | 13814845 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D2CC3D, 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 #D2CC3D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.44:1 | Pass | Pass | Pass |
| Sample text | 1.69:1 | Fail | Fail | Fail |
| #D2CC3D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.44: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 #D2CC3D looks to people with the most common types of color vision deficiency.
#ddc424Protanopia
no red cones#e0ca47Deuteranopia
no green cones#e1bfb0Tritanopia
no blue cones#c7c7c7Achromatopsia
no color vision
CSS examples
.background { background-color: #d2cc3d; }
.text { color: #d2cc3d; }
.border { border: 2px solid #d2cc3d; }
.transparent { background-color: rgb(210 204 61 / 50%); }
.gradient { background: linear-gradient(to right, #d2cc3d, #8dd23d); }
Similar colors
#cccc11Golden Harvest#d9c948Lanky Lemon#cec754Salsa Verde#d0d418Sun Flooded Woods#dcc61fPaella#d2db32Bitter Lemon#e8d82cBanana Brick#e7e04eDragon’s Gold
Closest common color name: Dandelion.
Questions
- What color is #D2CC3D?
- #D2CC3D is a moderate yellow, closest to the named color Golden Harvest. It belongs to the yellow family of colors.
- What is the RGB value of #D2CC3D?
- The RGB value is 210, 204, 61: 210 red, 204 green and 61 blue on a 0 to 255 scale.
- What is the complementary color of #D2CC3D?
- The complementary color is #3D43D2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D2CC3D?
- Black text. Black text has a contrast ratio of 12.44:1 and white text 1.69:1. WCAG asks for at least 4.5:1 for normal text.