#D8C888 color
The hex color #D8C888 is a light, moderate yellow.
In the RGB color model it is made of 84.7% red, 78.4% green and 53.3% blue (216, 200, 136).
Its hue angle is 48°, with 51% saturation and 69% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 37% yellow and 15% black.
The closest named color is Master Key (#DDCC88), a difference of 1.3 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.54:1).
#D8C888 color codes
| HEX | #D8C888 | |
|---|---|---|
| RGB | rgb(216, 200, 136) | |
| RGB percent | rgb(84.7%, 78.4%, 53.3%) | |
| HSL | hsl(48, 51%, 69%) | |
| HSV / HSB | hsv(48, 37%, 85%) | |
| CMYK | cmyk(0%, 7%, 37%, 15%) | |
| CIE LAB | lab(80.56, -3.6, 34.06) | |
| CIE LCH | lch(80.56, 34.25, 96.04) | |
| CIE XYZ | xyz(53.418, 57.687, 31.609) | |
| Decimal | 14207112 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D8C888, 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 #D8C888 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.54:1 | Pass | Pass | Pass |
| Sample text | 1.68:1 | Fail | Fail | Fail |
| #D8C888 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.54: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 #D8C888 looks to people with the most common types of color vision deficiency.
#d5c583Protanopia
no red cones#d9ca8aDeuteranopia
no green cones#e4bfb8Tritanopia
no blue cones#c8c8c8Achromatopsia
no color vision
CSS examples
.background { background-color: #d8c888; }
.text { color: #d8c888; }
.border { border: 2px solid #d8c888; }
.transparent { background-color: rgb(216 200 136 / 50%); }
.gradient { background: linear-gradient(to right, #d8c888, #c0d888); }
Similar colors
#ddcc88Master Key#d4ca8eRoyal Goblet#d4c990Golden Mist#dacd81Hay Day#dfc68524 Karat#ddcc99Desert Temple#dbd186Treasury#d0c678Muted Lime
Closest common color name: Buff.
Questions
- What color is #D8C888?
- #D8C888 is a light, moderate yellow, closest to the named color Master Key. It belongs to the beige family of colors.
- What is the RGB value of #D8C888?
- The RGB value is 216, 200, 136: 216 red, 200 green and 136 blue on a 0 to 255 scale.
- What is the complementary color of #D8C888?
- The complementary color is #8898D8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D8C888?
- Black text. Black text has a contrast ratio of 12.54:1 and white text 1.68:1. WCAG asks for at least 4.5:1 for normal text.