#D7C98E color
The hex color #D7C98E is a light, desaturated yellow.
In the RGB color model it is made of 84.3% red, 78.8% green and 55.7% blue (215, 201, 142).
Its hue angle is 48°, with 48% saturation and 70% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 34% yellow and 16% black.
The closest named color is Golden Mist (#D4C990), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.63:1).
#D7C98E color codes
| HEX | #D7C98E | |
|---|---|---|
| RGB | rgb(215, 201, 142) | |
| RGB percent | rgb(84.3%, 78.8%, 55.7%) | |
| HSL | hsl(48, 48%, 70%) | |
| HSV / HSB | hsv(48, 34%, 84%) | |
| CMYK | cmyk(0%, 7%, 34%, 16%) | |
| CIE LAB | lab(80.84, -3.81, 31.3) | |
| CIE LCH | lch(80.84, 31.53, 96.94) | |
| CIE XYZ | xyz(53.794, 58.175, 33.981) | |
| Decimal | 14141838 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D7C98E, 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 #D7C98E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.63:1 | Pass | Pass | Pass |
| Sample text | 1.66:1 | Fail | Fail | Fail |
| #D7C98E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.63: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 #D7C98E looks to people with the most common types of color vision deficiency.
#d5c68aProtanopia
no red cones#d9cb90Deuteranopia
no green cones#e2c1baTritanopia
no blue cones#c9c9c9Achromatopsia
no color vision
CSS examples
.background { background-color: #d7c98e; }
.text { color: #d7c98e; }
.border { border: 2px solid #d7c98e; }
.transparent { background-color: rgb(215 201 142 / 50%); }
.gradient { background: linear-gradient(to right, #d7c98e, #c1d78e); }
Similar colors
#d4c990Golden Mist#d4ca8eRoyal Goblet#ddcc88Master Key#ddcc99Desert Temple#e0d1a0Woven#e4cf99Honeycomb Glow#dacd81Hay Day#dfc68524 Karat
Closest common color name: Buff.
Questions
- What color is #D7C98E?
- #D7C98E is a light, desaturated yellow, closest to the named color Golden Mist. It belongs to the beige family of colors.
- What is the RGB value of #D7C98E?
- The RGB value is 215, 201, 142: 215 red, 201 green and 142 blue on a 0 to 255 scale.
- What is the complementary color of #D7C98E?
- The complementary color is #8E9CD7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D7C98E?
- Black text. Black text has a contrast ratio of 12.63:1 and white text 1.66:1. WCAG asks for at least 4.5:1 for normal text.