#ECF20D color
The hex color #ECF20D is a vivid yellow.
In the RGB color model it is made of 92.5% red, 94.9% green and 5.1% blue (236, 242, 13).
Its hue angle is 62°, with 90% saturation and 50% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 95% yellow and 5% black.
The closest named color is Triforce (#F0F00F), a difference of 1.2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 17.27:1).
#ECF20D color codes
| HEX | #ECF20D | |
|---|---|---|
| RGB | rgb(236, 242, 13) | |
| RGB percent | rgb(92.5%, 94.9%, 5.1%) | |
| HSL | hsl(62, 90%, 50%) | |
| HSV / HSB | hsv(62, 95%, 95%) | |
| CMYK | cmyk(2%, 0%, 95%, 5%) | |
| CIE LAB | lab(92.3, -23.09, 89.29) | |
| CIE LCH | lch(92.3, 92.22, 104.5) | |
| CIE XYZ | xyz(66.419, 81.368, 12.588) | |
| Decimal | 15528461 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #ECF20D, 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 #ECF20D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.27:1 | Pass | Pass | Pass |
| Sample text | 1.22:1 | Fail | Fail | Fail |
| #ECF20D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.27: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 #ECF20D looks to people with the most common types of color vision deficiency.
#ffe600Protanopia
no red cones#ffeb32Deuteranopia
no green cones#fde2ceTritanopia
no blue cones#e9e9e9Achromatopsia
no color vision
CSS examples
.background { background-color: #ecf20d; }
.text { color: #ecf20d; }
.border { border: 2px solid #ecf20d; }
.transparent { background-color: rgb(236 242 13 / 50%); }
.gradient { background: linear-gradient(to right, #ecf20d, #7af20d); }
Similar colors
#f0f00fTriforce#f8f739Banana Bandanna#f9f525Golden Ginkgo#f4ff00Busy Bee#eefe02Banana Flash#fdf901Delayed Yellow#eee92dPika Yellow#fbff00Electric Banana
Closest common color name: Neon Yellow.
Questions
- What color is #ECF20D?
- #ECF20D is a vivid yellow, closest to the named color Triforce. It belongs to the yellow family of colors.
- What is the RGB value of #ECF20D?
- The RGB value is 236, 242, 13: 236 red, 242 green and 13 blue on a 0 to 255 scale.
- What is the complementary color of #ECF20D?
- The complementary color is #130DF2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #ECF20D?
- Black text. Black text has a contrast ratio of 17.27:1 and white text 1.22:1. WCAG asks for at least 4.5:1 for normal text.