#DEC872 color
The hex color #DEC872 is a light, moderate yellow.
In the RGB color model it is made of 87.1% red, 78.4% green and 44.7% blue (222, 200, 114).
Its hue angle is 48°, with 62% saturation and 66% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 49% yellow and 13% black.
The closest named color is Dijon Mustard (#E2CA73), a difference of 0.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 12.61:1).
#DEC872 color codes
| HEX | #DEC872 | |
|---|---|---|
| RGB | rgb(222, 200, 114) | |
| RGB percent | rgb(87.1%, 78.4%, 44.7%) | |
| HSL | hsl(48, 62%, 66%) | |
| HSV / HSB | hsv(48, 49%, 87%) | |
| CMYK | cmyk(0%, 10%, 49%, 13%) | |
| CIE LAB | lab(80.77, -3.46, 45.55) | |
| CIE LCH | lch(80.77, 45.68, 94.35) | |
| CIE XYZ | xyz(53.817, 58.055, 24.287) | |
| Decimal | 14600306 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #DEC872, 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 #DEC872 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.61:1 | Pass | Pass | Pass |
| Sample text | 1.67:1 | Fail | Fail | Fail |
| #DEC872 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.67:1 | Fail | Fail | Fail |
| Sample text | 12.61: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 #DEC872 looks to people with the most common types of color vision deficiency.
#d8c46bProtanopia
no red cones#decc75Deuteranopia
no green cones#ecbcb4Tritanopia
no blue cones#c8c8c8Achromatopsia
no color vision
CSS examples
.background { background-color: #dec872; }
.text { color: #dec872; }
.border { border: 2px solid #dec872; }
.transparent { background-color: rgb(222 200 114 / 50%); }
.gradient { background: linear-gradient(to right, #dec872, #bede72); }
Similar colors
#e2ca73Dijon Mustard#e0c778Protoss#e4cb6bLe Bon Dijon#dbc364Crusade King#ddca69Pirate Treasure#e2c779Waffle Cone#e5cc69Sulphur Pit#e7d082Ancient Treasure
Closest common color name: Dark Khaki.
Questions
- What color is #DEC872?
- #DEC872 is a light, moderate yellow, closest to the named color Dijon Mustard. It belongs to the yellow family of colors.
- What is the RGB value of #DEC872?
- The RGB value is 222, 200, 114: 222 red, 200 green and 114 blue on a 0 to 255 scale.
- What is the complementary color of #DEC872?
- The complementary color is #7288DE, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #DEC872?
- Black text. Black text has a contrast ratio of 12.61:1 and white text 1.67:1. WCAG asks for at least 4.5:1 for normal text.