#D4DC31 color
The hex color #D4DC31 is a moderate yellow.
In the RGB color model it is made of 83.1% red, 86.3% green and 19.2% blue (212, 220, 49).
Its hue angle is 63°, with 71% saturation and 53% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 78% yellow and 14% black.
The closest named color is Bitter Lemon (#D2DB32), a difference of 0.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 14.08:1).
#D4DC31 color codes
| HEX | #D4DC31 | |
|---|---|---|
| RGB | rgb(212, 220, 49) | |
| RGB percent | rgb(83.1%, 86.3%, 19.2%) | |
| HSL | hsl(63, 71%, 53%) | |
| HSV / HSB | hsv(63, 78%, 86%) | |
| CMYK | cmyk(4%, 0%, 78%, 14%) | |
| CIE LAB | lab(84.69, -21.7, 75.83) | |
| CIE LCH | lch(84.69, 78.88, 105.97) | |
| CIE XYZ | xyz(53.301, 65.407, 12.722) | |
| Decimal | 13950001 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D4DC31, 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 #D4DC31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.08:1 | Pass | Pass | Pass |
| Sample text | 1.49:1 | Fail | Fail | Fail |
| #D4DC31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.49:1 | Fail | Fail | Fail |
| Sample text | 14.08: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 #D4DC31 looks to people with the most common types of color vision deficiency.
#edd200Protanopia
no red cones#edd541Deuteranopia
no green cones#e3cebdTritanopia
no blue cones#d3d3d3Achromatopsia
no color vision
CSS examples
.background { background-color: #d4dc31; }
.text { color: #d4dc31; }
.border { border: 2px solid #d4dc31; }
.transparent { background-color: rgb(212 220 49 / 50%); }
.gradient { background: linear-gradient(to right, #d4dc31, #7fdc31); }
Similar colors
#d2db32Bitter Lemon#cdd80dGoldzilla#d4de49Yuzukoshō#d1e231Pear#d0d418Sun Flooded Woods#c6d624Lime Twist#cae03bGreenivorous#c0d725Lime Punch
Closest common color name: Dandelion.
Questions
- What color is #D4DC31?
- #D4DC31 is a moderate yellow, closest to the named color Bitter Lemon. It belongs to the yellow family of colors.
- What is the RGB value of #D4DC31?
- The RGB value is 212, 220, 49: 212 red, 220 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #D4DC31?
- The complementary color is #3931DC, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D4DC31?
- Black text. Black text has a contrast ratio of 14.08:1 and white text 1.49:1. WCAG asks for at least 4.5:1 for normal text.