#DCC762 color
The hex color #DCC762 is a light, moderate yellow.
In the RGB color model it is made of 86.3% red, 78% green and 38.4% blue (220, 199, 98).
Its hue angle is 50°, with 64% saturation and 62% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 55% yellow and 14% black.
The closest named color is Duck Butter (#DDC75B), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.39:1).
#DCC762 color codes
| HEX | #DCC762 | |
|---|---|---|
| RGB | rgb(220, 199, 98) | |
| RGB percent | rgb(86.3%, 78%, 38.4%) | |
| HSL | hsl(50, 64%, 62%) | |
| HSV / HSB | hsv(50, 55%, 86%) | |
| CMYK | cmyk(0%, 10%, 55%, 14%) | |
| CIE LAB | lab(80.15, -5.12, 52.47) | |
| CIE LCH | lch(80.15, 52.72, 95.57) | |
| CIE XYZ | xyz(52.145, 56.947, 19.798) | |
| Decimal | 14468962 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #DCC762, 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 #DCC762 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.39:1 | Pass | Pass | Pass |
| Sample text | 1.7:1 | Fail | Fail | Fail |
| #DCC762 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.39: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 #DCC762 looks to people with the most common types of color vision deficiency.
#d8c358Protanopia
no red cones#ddca67Deuteranopia
no green cones#ebbab0Tritanopia
no blue cones#c7c7c7Achromatopsia
no color vision
CSS examples
.background { background-color: #dcc762; }
.text { color: #dcc762; }
.border { border: 2px solid #dcc762; }
.transparent { background-color: rgb(220 199 98 / 50%); }
.gradient { background: linear-gradient(to right, #dcc762, #b4dc62); }
Similar colors
#ddc75bDuck Butter#ddca69Pirate Treasure#dbc364Crusade King#e5cc69Sulphur Pit#e4cb6bLe Bon Dijon#e2ca73Dijon Mustard#eace6aDune Crest#d4cb60Quince
Closest common color name: Mustard.
Questions
- What color is #DCC762?
- #DCC762 is a light, moderate yellow, closest to the named color Duck Butter. It belongs to the yellow family of colors.
- What is the RGB value of #DCC762?
- The RGB value is 220, 199, 98: 220 red, 199 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #DCC762?
- The complementary color is #6277DC, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #DCC762?
- Black text. Black text has a contrast ratio of 12.39:1 and white text 1.7:1. WCAG asks for at least 4.5:1 for normal text.