#D6C040 color
The hex color #D6C040 is a moderate yellow.
In the RGB color model it is made of 83.9% red, 75.3% green and 25.1% blue (214, 192, 64).
Its hue angle is 51°, with 65% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 70% yellow and 16% black.
The closest named color is Indian Pale Ale (#D5BC26), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 11.47:1).
#D6C040 color codes
| HEX | #D6C040 | |
|---|---|---|
| RGB | rgb(214, 192, 64) | |
| RGB percent | rgb(83.9%, 75.3%, 25.1%) | |
| HSL | hsl(51, 65%, 55%) | |
| HSV / HSB | hsv(51, 70%, 84%) | |
| CMYK | cmyk(0%, 10%, 70%, 16%) | |
| CIE LAB | lab(77.5, -6.21, 64.12) | |
| CIE LCH | lch(77.5, 64.42, 95.53) | |
| CIE XYZ | xyz(47.509, 52.368, 12.455) | |
| Decimal | 14073920 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D6C040, 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 #D6C040 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.47:1 | Pass | Pass | Pass |
| Sample text | 1.83:1 | Fail | Fail | Fail |
| #D6C040 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.47: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 #D6C040 looks to people with the most common types of color vision deficiency.
#d2bb2dProtanopia
no red cones#d8c348Deuteranopia
no green cones#e6b2a6Tritanopia
no blue cones#bfbfbfAchromatopsia
no color vision
CSS examples
.background { background-color: #d6c040; }
.text { color: #d6c040; }
.border { border: 2px solid #d6c040; }
.transparent { background-color: rgb(214 192 64 / 50%); }
.gradient { background: linear-gradient(to right, #d6c040, #a1d640); }
Similar colors
#d5bc26Indian Pale Ale#e0c84bGolden Kingdom#d9c948Lanky Lemon#ddc75bDuck Butter#cfb53bOld Gold#e1c12fFinger Banana#dbbc4bBuried Gold#dcc61fPaella
Closest common color name: Metallic Gold.
Questions
- What color is #D6C040?
- #D6C040 is a moderate yellow, closest to the named color Indian Pale Ale. It belongs to the yellow family of colors.
- What is the RGB value of #D6C040?
- The RGB value is 214, 192, 64: 214 red, 192 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #D6C040?
- The complementary color is #4056D6, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D6C040?
- Black text. Black text has a contrast ratio of 11.47:1 and white text 1.83:1. WCAG asks for at least 4.5:1 for normal text.