#ECD31C color
The hex color #ECD31C is a vivid yellow.
In the RGB color model it is made of 92.5% red, 82.7% green and 11% blue (236, 211, 28).
Its hue angle is 53°, with 85% saturation and 52% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 88% yellow and 7% black.
The closest named color is Yellow Mellow (#F0D31E), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 13.9:1).
#ECD31C color codes
| HEX | #ECD31C | |
|---|---|---|
| RGB | rgb(236, 211, 28) | |
| RGB percent | rgb(92.5%, 82.7%, 11%) | |
| HSL | hsl(53, 85%, 52%) | |
| HSV / HSB | hsv(53, 88%, 93%) | |
| CMYK | cmyk(0%, 11%, 88%, 7%) | |
| CIE LAB | lab(84.23, -7.68, 81.13) | |
| CIE LCH | lch(84.23, 81.49, 95.41) | |
| CIE XYZ | xyz(58.099, 64.508, 10.489) | |
| Decimal | 15520540 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #ECD31C, 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 #ECD31C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.9:1 | Pass | Pass | Pass |
| Sample text | 1.51:1 | Fail | Fail | Fail |
| #ECD31C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.9: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 #ECD31C looks to people with the most common types of color vision deficiency.
#e9cd00Protanopia
no red cones#efd630Deuteranopia
no green cones#ffc2b4Tritanopia
no blue cones#d2d2d2Achromatopsia
no color vision
CSS examples
.background { background-color: #ecd31c; }
.text { color: #ecd31c; }
.border { border: 2px solid #ecd31c; }
.transparent { background-color: rgb(236 211 28 / 50%); }
.gradient { background: linear-gradient(to right, #ecd31c, #9dec1c); }
Similar colors
#f0d31eYellow Mellow#efd100Under the Sun#edd924Spectacular Saffron#e8d720Holy Grail#f3db00Banana Propaganda#ecd540Sandstorm#f6dd34Angel’s Trumpet#e8d82cBanana Brick
Closest common color name: Dandelion.
Questions
- What color is #ECD31C?
- #ECD31C is a vivid yellow, closest to the named color Yellow Mellow. It belongs to the yellow family of colors.
- What is the RGB value of #ECD31C?
- The RGB value is 236, 211, 28: 236 red, 211 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #ECD31C?
- The complementary color is #1C35EC, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #ECD31C?
- Black text. Black text has a contrast ratio of 13.9:1 and white text 1.51:1. WCAG asks for at least 4.5:1 for normal text.