#D4D98E color
The hex color #D4D98E is a light, desaturated yellow.
In the RGB color model it is made of 83.1% red, 85.1% green and 55.7% blue (212, 217, 142).
Its hue angle is 64°, with 50% saturation and 70% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 35% yellow and 15% black.
The closest named color is Sunken Treasure (#CCCF86), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 14.12:1).
#D4D98E color codes
| HEX | #D4D98E | |
|---|---|---|
| RGB | rgb(212, 217, 142) | |
| RGB percent | rgb(83.1%, 85.1%, 55.7%) | |
| HSL | hsl(64, 50%, 70%) | |
| HSV / HSB | hsv(64, 35%, 85%) | |
| CMYK | cmyk(2%, 0%, 35%, 15%) | |
| CIE LAB | lab(84.78, -13.13, 36.43) | |
| CIE LCH | lch(84.78, 38.72, 109.82) | |
| CIE XYZ | xyz(56.847, 65.577, 35.249) | |
| Decimal | 13949326 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D4D98E, 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 #D4D98E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.12:1 | Pass | Pass | Pass |
| Sample text | 1.49:1 | Fail | Fail | Fail |
| #D4D98E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.49:1 | Fail | Fail | Fail |
| Sample text | 14.12: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 #D4D98E looks to people with the most common types of color vision deficiency.
#e4d289Protanopia
no red cones#e4d591Deuteranopia
no green cones#ddd0c6Tritanopia
no blue cones#d4d4d4Achromatopsia
no color vision
CSS examples
.background { background-color: #d4d98e; }
.text { color: #d4d98e; }
.border { border: 2px solid #d4d98e; }
.transparent { background-color: rgb(212 217 142 / 50%); }
.gradient { background: linear-gradient(to right, #d4d98e, #afd98e); }
Similar colors
#cccf86Sunken Treasure#dddd88Garlic Toast#c8d07fZucchini Noodles#e1df9aCelery Sceptre#dfe289Sassy Lime#c5d17bAlligator Alley#cad175Fool’s Gold#d9e6a6Mermaid Tears
Closest common color name: Pale Goldenrod.
Questions
- What color is #D4D98E?
- #D4D98E is a light, desaturated yellow, closest to the named color Sunken Treasure. It belongs to the yellow family of colors.
- What is the RGB value of #D4D98E?
- The RGB value is 212, 217, 142: 212 red, 217 green and 142 blue on a 0 to 255 scale.
- What is the complementary color of #D4D98E?
- The complementary color is #938ED9, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D4D98E?
- Black text. Black text has a contrast ratio of 14.12:1 and white text 1.49:1. WCAG asks for at least 4.5:1 for normal text.