#D9C336 color
The hex color #D9C336 is a moderate yellow.
In the RGB color model it is made of 85.1% red, 76.5% green and 21.2% blue (217, 195, 54).
Its hue angle is 52°, with 68% saturation and 53% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 75% yellow and 15% black.
The closest named color is Paella (#DCC61F), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 11.81:1).
#D9C336 color codes
| HEX | #D9C336 | |
|---|---|---|
| RGB | rgb(217, 195, 54) | |
| RGB percent | rgb(85.1%, 76.5%, 21.2%) | |
| HSL | hsl(52, 68%, 53%) | |
| HSV / HSB | hsv(52, 75%, 85%) | |
| CMYK | cmyk(0%, 10%, 75%, 15%) | |
| CIE LAB | lab(78.49, -6.92, 68.79) | |
| CIE LCH | lch(78.49, 69.13, 95.75) | |
| CIE XYZ | xyz(48.799, 54.051, 11.352) | |
| Decimal | 14271286 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D9C336, 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 #D9C336 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.81:1 | Pass | Pass | Pass |
| Sample text | 1.78:1 | Fail | Fail | Fail |
| #D9C336 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.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 #D9C336 looks to people with the most common types of color vision deficiency.
#d6be19Protanopia
no red cones#dcc640Deuteranopia
no green cones#eab4a8Tritanopia
no blue cones#c2c2c2Achromatopsia
no color vision
CSS examples
.background { background-color: #d9c336; }
.text { color: #d9c336; }
.border { border: 2px solid #d9c336; }
.transparent { background-color: rgb(217 195 54 / 50%); }
.gradient { background: linear-gradient(to right, #d9c336, #9dd936); }
Similar colors
#dcc61fPaella#d5bc26Indian Pale Ale#e0c84bGolden Kingdom#d9c948Lanky Lemon#d6be01Groovy Lemon Pie#e1c12fFinger Banana#e3c81cOh Em Ghee#e8ce49Golden Relic
Closest common color name: Metallic Gold.
Questions
- What color is #D9C336?
- #D9C336 is a moderate yellow, closest to the named color Paella. It belongs to the yellow family of colors.
- What is the RGB value of #D9C336?
- The RGB value is 217, 195, 54: 217 red, 195 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #D9C336?
- The complementary color is #364CD9, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D9C336?
- Black text. Black text has a contrast ratio of 11.81:1 and white text 1.78:1. WCAG asks for at least 4.5:1 for normal text.