#D3C798 color
The hex color #D3C798 is a light, desaturated yellow.
In the RGB color model it is made of 82.7% red, 78% green and 59.6% blue (211, 199, 152).
Its hue angle is 48°, with 40% saturation and 71% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 28% yellow and 17% black.
The closest named color is Desert Temple (#DDCC99), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 12.39:1).
#D3C798 color codes
| HEX | #D3C798 | |
|---|---|---|
| RGB | rgb(211, 199, 152) | |
| RGB percent | rgb(82.7%, 78%, 59.6%) | |
| HSL | hsl(48, 40%, 71%) | |
| HSV / HSB | hsv(48, 28%, 83%) | |
| CMYK | cmyk(0%, 6%, 28%, 17%) | |
| CIE LAB | lab(80.16, -3.05, 25.1) | |
| CIE LCH | lch(80.16, 25.28, 96.93) | |
| CIE XYZ | xyz(52.955, 56.964, 37.905) | |
| Decimal | 13879192 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D3C798, 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 #D3C798 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.39:1 | Pass | Pass | Pass |
| Sample text | 1.69:1 | Fail | Fail | Fail |
| #D3C798 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.39: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 #D3C798 looks to people with the most common types of color vision deficiency.
#d1c495Protanopia
no red cones#d4c99aDeuteranopia
no green cones#dcc0baTritanopia
no blue cones#c7c7c7Achromatopsia
no color vision
CSS examples
.background { background-color: #d3c798; }
.text { color: #d3c798; }
.border { border: 2px solid #d3c798; }
.transparent { background-color: rgb(211 199 152 / 50%); }
.gradient { background: linear-gradient(to right, #d3c798, #c1d398); }
Similar colors
#ddcc99Desert Temple#d4c990Golden Mist#e0d1a0Woven#d4ca8eRoyal Goblet#cecb97Court-Bouillon#ddcda6Ancestral Gold#e0d2a9Gratin Dauphinois#e2cc9cPrairie Land
Closest common color name: Buff.
Questions
- What color is #D3C798?
- #D3C798 is a light, desaturated yellow, closest to the named color Desert Temple. It belongs to the beige family of colors.
- What is the RGB value of #D3C798?
- The RGB value is 211, 199, 152: 211 red, 199 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #D3C798?
- The complementary color is #98A4D3, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D3C798?
- Black text. Black text has a contrast ratio of 12.39:1 and white text 1.69:1. WCAG asks for at least 4.5:1 for normal text.