#D2C862 color
The hex color #D2C862 is a moderate yellow.
In the RGB color model it is made of 82.4% red, 78.4% green and 38.4% blue (210, 200, 98).
Its hue angle is 55°, with 55% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 53% yellow and 18% black.
The closest named color is Quince (#D4CB60), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.18:1).
#D2C862 color codes
| HEX | #D2C862 | |
|---|---|---|
| RGB | rgb(210, 200, 98) | |
| RGB percent | rgb(82.4%, 78.4%, 38.4%) | |
| HSL | hsl(55, 55%, 60%) | |
| HSV / HSB | hsv(55, 53%, 82%) | |
| CMYK | cmyk(0%, 5%, 53%, 18%) | |
| CIE LAB | lab(79.55, -9.76, 51.56) | |
| CIE LCH | lch(79.55, 52.47, 100.72) | |
| CIE XYZ | xyz(49.439, 55.894, 19.737) | |
| Decimal | 13813858 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D2C862, 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 #D2C862 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.18:1 | Pass | Pass | Pass |
| Sample text | 1.72:1 | Fail | Fail | Fail |
| #D2C862 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.72:1 | Fail | Fail | Fail |
| Sample text | 12.18: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 #D2C862 looks to people with the most common types of color vision deficiency.
#d7c258Protanopia
no red cones#dbc867Deuteranopia
no green cones#e0bcb1Tritanopia
no blue cones#c5c5c5Achromatopsia
no color vision
CSS examples
.background { background-color: #d2c862; }
.text { color: #d2c862; }
.border { border: 2px solid #d2c862; }
.transparent { background-color: rgb(210 200 98 / 50%); }
.gradient { background: linear-gradient(to right, #d2c862, #a4d262); }
Similar colors
#d4cb60Quince#d5ce69Force of Nature#cec754Salsa Verde#ddca69Pirate Treasure#ddc75bDuck Butter#d9c948Lanky Lemon#d0c678Muted Lime#dbc364Crusade King
Closest common color name: Dark Khaki.
Questions
- What color is #D2C862?
- #D2C862 is a moderate yellow, closest to the named color Quince. It belongs to the yellow family of colors.
- What is the RGB value of #D2C862?
- The RGB value is 210, 200, 98: 210 red, 200 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #D2C862?
- The complementary color is #626CD2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D2C862?
- Black text. Black text has a contrast ratio of 12.18:1 and white text 1.72:1. WCAG asks for at least 4.5:1 for normal text.