#D9CA8A color
The hex color #D9CA8A is a light, moderate yellow.
In the RGB color model it is made of 85.1% red, 79.2% green and 54.1% blue (217, 202, 138).
Its hue angle is 49°, with 51% saturation and 70% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 36% yellow and 15% black.
The closest named color is Master Key (#DDCC88), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.77:1).
#D9CA8A color codes
| HEX | #D9CA8A | |
|---|---|---|
| RGB | rgb(217, 202, 138) | |
| RGB percent | rgb(85.1%, 79.2%, 54.1%) | |
| HSL | hsl(49, 51%, 70%) | |
| HSV / HSB | hsv(49, 36%, 85%) | |
| CMYK | cmyk(0%, 7%, 36%, 15%) | |
| CIE LAB | lab(81.2, -4.01, 33.88) | |
| CIE LCH | lch(81.2, 34.11, 96.76) | |
| CIE XYZ | xyz(54.324, 58.829, 32.533) | |
| Decimal | 14273162 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D9CA8A, 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 #D9CA8A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.77:1 | Pass | Pass | Pass |
| Sample text | 1.65:1 | Fail | Fail | Fail |
| #D9CA8A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.77: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 #D9CA8A looks to people with the most common types of color vision deficiency.
#d6c785Protanopia
no red cones#dbcc8cDeuteranopia
no green cones#e5c1baTritanopia
no blue cones#cacacaAchromatopsia
no color vision
CSS examples
.background { background-color: #d9ca8a; }
.text { color: #d9ca8a; }
.border { border: 2px solid #d9ca8a; }
.transparent { background-color: rgb(217 202 138 / 50%); }
.gradient { background: linear-gradient(to right, #d9ca8a, #c0d98a); }
Similar colors
#ddcc88Master Key#d4ca8eRoyal Goblet#d4c990Golden Mist#dacd81Hay Day#dbd186Treasury#ddcc99Desert Temple#dfc68524 Karat#d0c678Muted Lime
Closest common color name: Buff.
Questions
- What color is #D9CA8A?
- #D9CA8A 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 #D9CA8A?
- The RGB value is 217, 202, 138: 217 red, 202 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #D9CA8A?
- The complementary color is #8A99D9, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D9CA8A?
- Black text. Black text has a contrast ratio of 12.77:1 and white text 1.65:1. WCAG asks for at least 4.5:1 for normal text.