#DFD298 color
The hex color #DFD298 is a light, moderate yellow.
In the RGB color model it is made of 87.5% red, 82.4% green and 59.6% blue (223, 210, 152).
Its hue angle is 49°, with 53% saturation and 74% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 32% yellow and 13% black.
The closest named color is Sunny Glory (#E8D99C), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 13.81:1).
#DFD298 color codes
| HEX | #DFD298 | |
|---|---|---|
| RGB | rgb(223, 210, 152) | |
| RGB percent | rgb(87.5%, 82.4%, 59.6%) | |
| HSL | hsl(49, 53%, 74%) | |
| HSV / HSB | hsv(49, 32%, 87%) | |
| CMYK | cmyk(0%, 6%, 32%, 13%) | |
| CIE LAB | lab(83.99, -4.12, 30.43) | |
| CIE LCH | lch(83.99, 30.71, 97.72) | |
| CIE XYZ | xyz(59.146, 64.05, 38.947) | |
| Decimal | 14668440 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #DFD298, 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 #DFD298 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.81:1 | Pass | Pass | Pass |
| Sample text | 1.52:1 | Fail | Fail | Fail |
| #DFD298 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.81: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 #DFD298 looks to people with the most common types of color vision deficiency.
#ddcf94Protanopia
no red cones#e1d49aDeuteranopia
no green cones#eacac3Tritanopia
no blue cones#d1d1d1Achromatopsia
no color vision
CSS examples
.background { background-color: #dfd298; }
.text { color: #dfd298; }
.border { border: 2px solid #dfd298; }
.transparent { background-color: rgb(223 210 152 / 50%); }
.gradient { background: linear-gradient(to right, #dfd298, #c9df98); }
Similar colors
#e8d99cSunny Glory#e0d1a0Woven#d4c990Golden Mist#d4ca8eRoyal Goblet#ddcc99Desert Temple#ebd999Ivory Buff#ddcc88Master Key#e4cf99Honeycomb Glow
Closest common color name: Vanilla.
Questions
- What color is #DFD298?
- #DFD298 is a light, moderate yellow, closest to the named color Sunny Glory. It belongs to the beige family of colors.
- What is the RGB value of #DFD298?
- The RGB value is 223, 210, 152: 223 red, 210 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #DFD298?
- The complementary color is #98A5DF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #DFD298?
- Black text. Black text has a contrast ratio of 13.81:1 and white text 1.52:1. WCAG asks for at least 4.5:1 for normal text.