#D2C797 color
The hex color #D2C797 is a light, desaturated yellow.
In the RGB color model it is made of 82.4% red, 78% green and 59.2% blue (210, 199, 151).
Its hue angle is 49°, with 40% saturation and 71% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 28% yellow and 18% black.
The closest named color is Golden Mist (#D4C990), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 12.36:1).
#D2C797 color codes
| HEX | #D2C797 | |
|---|---|---|
| RGB | rgb(210, 199, 151) | |
| RGB percent | rgb(82.4%, 78%, 59.2%) | |
| HSL | hsl(49, 40%, 71%) | |
| HSV / HSB | hsv(49, 28%, 82%) | |
| CMYK | cmyk(0%, 5%, 28%, 18%) | |
| CIE LAB | lab(80.06, -3.57, 25.47) | |
| CIE LCH | lch(80.06, 25.72, 97.97) | |
| CIE XYZ | xyz(52.588, 56.784, 37.462) | |
| Decimal | 13813655 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D2C797, 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 #D2C797 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.36:1 | Pass | Pass | Pass |
| Sample text | 1.7:1 | Fail | Fail | Fail |
| #D2C797 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.36: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 #D2C797 looks to people with the most common types of color vision deficiency.
#d1c494Protanopia
no red cones#d4c899Deuteranopia
no green cones#dbc0baTritanopia
no blue cones#c6c6c6Achromatopsia
no color vision
CSS examples
.background { background-color: #d2c797; }
.text { color: #d2c797; }
.border { border: 2px solid #d2c797; }
.transparent { background-color: rgb(210 199 151 / 50%); }
.gradient { background: linear-gradient(to right, #d2c797, #bfd297); }
Similar colors
#d4c990Golden Mist#ddcc99Desert Temple#d4ca8eRoyal Goblet#e0d1a0Woven#cecb97Court-Bouillon#e0d2a9Gratin Dauphinois#ddcda6Ancestral Gold#e4cf99Honeycomb Glow
Closest common color name: Buff.
Questions
- What color is #D2C797?
- #D2C797 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 #D2C797?
- The RGB value is 210, 199, 151: 210 red, 199 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #D2C797?
- The complementary color is #97A2D2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D2C797?
- Black text. Black text has a contrast ratio of 12.36:1 and white text 1.7:1. WCAG asks for at least 4.5:1 for normal text.