#D5C158 color
The hex color #D5C158 is a moderate yellow.
In the RGB color model it is made of 83.5% red, 75.7% green and 34.5% blue (213, 193, 88).
Its hue angle is 50°, with 60% saturation and 59% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 59% yellow and 16% black.
The closest named color is Duck Butter (#DDC75B), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 11.6:1).
#D5C158 color codes
| HEX | #D5C158 | |
|---|---|---|
| RGB | rgb(213, 193, 88) | |
| RGB percent | rgb(83.5%, 75.7%, 34.5%) | |
| HSL | hsl(50, 60%, 59%) | |
| HSV / HSB | hsv(50, 59%, 84%) | |
| CMYK | cmyk(0%, 9%, 59%, 16%) | |
| CIE LAB | lab(77.87, -5.69, 54.33) | |
| CIE LCH | lch(77.87, 54.63, 95.98) | |
| CIE XYZ | xyz(48.274, 52.993, 16.916) | |
| Decimal | 14008664 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D5C158, 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 #D5C158 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.6:1 | Pass | Pass | Pass |
| Sample text | 1.81:1 | Fail | Fail | Fail |
| #D5C158 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.6: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 #D5C158 looks to people with the most common types of color vision deficiency.
#d2bc4dProtanopia
no red cones#d7c45dDeuteranopia
no green cones#e4b4aaTritanopia
no blue cones#c0c0c0Achromatopsia
no color vision
CSS examples
.background { background-color: #d5c158; }
.text { color: #d5c158; }
.border { border: 2px solid #d5c158; }
.transparent { background-color: rgb(213 193 88 / 50%); }
.gradient { background: linear-gradient(to right, #d5c158, #abd558); }
Similar colors
#ddc75bDuck Butter#dbc364Crusade King#ddca69Pirate Treasure#cdbb63The Weight of Gold#e0c84bGolden Kingdom#d6b956Gold Vein#dbbc4bBuried Gold#e4cb6bLe Bon Dijon
Closest common color name: Metallic Gold.
Questions
- What color is #D5C158?
- #D5C158 is a moderate yellow, closest to the named color Duck Butter. It belongs to the yellow family of colors.
- What is the RGB value of #D5C158?
- The RGB value is 213, 193, 88: 213 red, 193 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #D5C158?
- The complementary color is #586CD5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D5C158?
- Black text. Black text has a contrast ratio of 11.6:1 and white text 1.81:1. WCAG asks for at least 4.5:1 for normal text.