#D9CA8C color
The hex color #D9CA8C is a light, moderate yellow.
In the RGB color model it is made of 85.1% red, 79.2% green and 54.9% blue (217, 202, 140).
Its hue angle is 48°, with 50% saturation and 70% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 35% yellow and 15% black.
The closest named color is Master Key (#DDCC88), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.78:1).
#D9CA8C color codes
| HEX | #D9CA8C | |
|---|---|---|
| RGB | rgb(217, 202, 140) | |
| RGB percent | rgb(85.1%, 79.2%, 54.9%) | |
| HSL | hsl(48, 50%, 70%) | |
| HSV / HSB | hsv(48, 35%, 85%) | |
| CMYK | cmyk(0%, 7%, 35%, 15%) | |
| CIE LAB | lab(81.23, -3.78, 32.88) | |
| CIE LCH | lch(81.23, 33.1, 96.56) | |
| CIE XYZ | xyz(54.47, 58.888, 33.303) | |
| Decimal | 14273164 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D9CA8C, 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 #D9CA8C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.78:1 | Pass | Pass | Pass |
| Sample text | 1.64:1 | Fail | Fail | Fail |
| #D9CA8C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.64:1 | Fail | Fail | Fail |
| Sample text | 12.78: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 #D9CA8C looks to people with the most common types of color vision deficiency.
#d6c788Protanopia
no red cones#dacc8eDeuteranopia
no green cones#e4c1baTritanopia
no blue cones#cacacaAchromatopsia
no color vision
CSS examples
.background { background-color: #d9ca8c; }
.text { color: #d9ca8c; }
.border { border: 2px solid #d9ca8c; }
.transparent { background-color: rgb(217 202 140 / 50%); }
.gradient { background: linear-gradient(to right, #d9ca8c, #c2d98c); }
Similar colors
#ddcc88Master Key#d4ca8eRoyal Goblet#d4c990Golden Mist#ddcc99Desert Temple#dacd81Hay Day#dfc68524 Karat#dbd186Treasury#e4cf99Honeycomb Glow
Closest common color name: Buff.
Questions
- What color is #D9CA8C?
- #D9CA8C 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 #D9CA8C?
- The RGB value is 217, 202, 140: 217 red, 202 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #D9CA8C?
- The complementary color is #8C9BD9, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D9CA8C?
- Black text. Black text has a contrast ratio of 12.78:1 and white text 1.64:1. WCAG asks for at least 4.5:1 for normal text.