#D4C781 color
The hex color #D4C781 is a light, desaturated yellow.
In the RGB color model it is made of 83.1% red, 78% green and 50.6% blue (212, 199, 129).
Its hue angle is 51°, with 49% saturation and 67% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 39% yellow and 17% black.
The closest named color is Hay Day (#DACD81), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.29:1).
#D4C781 color codes
| HEX | #D4C781 | |
|---|---|---|
| RGB | rgb(212, 199, 129) | |
| RGB percent | rgb(83.1%, 78%, 50.6%) | |
| HSL | hsl(51, 49%, 67%) | |
| HSV / HSB | hsv(51, 39%, 83%) | |
| CMYK | cmyk(0%, 6%, 39%, 17%) | |
| CIE LAB | lab(79.86, -5.46, 36.68) | |
| CIE LCH | lch(79.86, 37.08, 98.46) | |
| CIE XYZ | xyz(51.538, 56.43, 28.942) | |
| Decimal | 13944705 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D4C781, 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 #D4C781 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.29:1 | Pass | Pass | Pass |
| Sample text | 1.71:1 | Fail | Fail | Fail |
| #D4C781 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.29: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 #D4C781 looks to people with the most common types of color vision deficiency.
#d4c37cProtanopia
no red cones#d8c884Deuteranopia
no green cones#e0beb5Tritanopia
no blue cones#c6c6c6Achromatopsia
no color vision
CSS examples
.background { background-color: #d4c781; }
.text { color: #d4c781; }
.border { border: 2px solid #d4c781; }
.transparent { background-color: rgb(212 199 129 / 50%); }
.gradient { background: linear-gradient(to right, #d4c781, #b8d481); }
Similar colors
#dacd81Hay Day#d0c678Muted Lime#ddcc88Master Key#d4ca8eRoyal Goblet#dbd186Treasury#d4c990Golden Mist#e0c778Protoss#dfc68524 Karat
Closest common color name: Dark Khaki.
Questions
- What color is #D4C781?
- #D4C781 is a light, desaturated yellow, closest to the named color Hay Day. It belongs to the yellow family of colors.
- What is the RGB value of #D4C781?
- The RGB value is 212, 199, 129: 212 red, 199 green and 129 blue on a 0 to 255 scale.
- What is the complementary color of #D4C781?
- The complementary color is #818ED4, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D4C781?
- Black text. Black text has a contrast ratio of 12.29:1 and white text 1.71:1. WCAG asks for at least 4.5:1 for normal text.