#D8CC8C color
The hex color #D8CC8C is a light, desaturated yellow.
In the RGB color model it is made of 84.7% red, 80% green and 54.9% blue (216, 204, 140).
Its hue angle is 51°, with 49% saturation and 70% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 35% yellow and 15% black.
The closest named color is Royal Goblet (#D4CA8E), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.94:1).
#D8CC8C color codes
| HEX | #D8CC8C | |
|---|---|---|
| RGB | rgb(216, 204, 140) | |
| RGB percent | rgb(84.7%, 80%, 54.9%) | |
| HSL | hsl(51, 49%, 70%) | |
| HSV / HSB | hsv(51, 35%, 85%) | |
| CMYK | cmyk(0%, 6%, 35%, 15%) | |
| CIE LAB | lab(81.66, -5.2, 33.44) | |
| CIE LCH | lch(81.66, 33.84, 98.84) | |
| CIE XYZ | xyz(54.646, 59.68, 33.447) | |
| Decimal | 14208140 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D8CC8C, 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 #D8CC8C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.94:1 | Pass | Pass | Pass |
| Sample text | 1.62:1 | Fail | Fail | Fail |
| #D8CC8C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.94: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 #D8CC8C looks to people with the most common types of color vision deficiency.
#d8c887Protanopia
no red cones#dccd8eDeuteranopia
no green cones#e3c3bcTritanopia
no blue cones#cbcbcbAchromatopsia
no color vision
CSS examples
.background { background-color: #d8cc8c; }
.text { color: #d8cc8c; }
.border { border: 2px solid #d8cc8c; }
.transparent { background-color: rgb(216 204 140 / 50%); }
.gradient { background: linear-gradient(to right, #d8cc8c, #bed88c); }
Similar colors
#d4ca8eRoyal Goblet#d4c990Golden Mist#ddcc88Master Key#dacd81Hay Day#dbd186Treasury#d0c678Muted Lime#e8d99cSunny Glory#ddcc99Desert Temple
Closest common color name: Buff.
Questions
- What color is #D8CC8C?
- #D8CC8C is a light, desaturated yellow, closest to the named color Royal Goblet. It belongs to the beige family of colors.
- What is the RGB value of #D8CC8C?
- The RGB value is 216, 204, 140: 216 red, 204 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #D8CC8C?
- The complementary color is #8C98D8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D8CC8C?
- Black text. Black text has a contrast ratio of 12.94:1 and white text 1.62:1. WCAG asks for at least 4.5:1 for normal text.