#FFEC8F color
The hex color #FFEC8F is a light, vivid yellow.
In the RGB color model it is made of 100% red, 92.5% green and 56.1% blue (255, 236, 143).
Its hue angle is 50°, with 100% saturation and 78% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 44% yellow and 0% black.
The closest named color is Chickery Chick (#FBE98E), a difference of 0.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 17.65:1).
#FFEC8F color codes
| HEX | #FFEC8F | |
|---|---|---|
| RGB | rgb(255, 236, 143) | |
| RGB percent | rgb(100%, 92.5%, 56.1%) | |
| HSL | hsl(50, 100%, 78%) | |
| HSV / HSB | hsv(50, 44%, 100%) | |
| CMYK | cmyk(0%, 7%, 44%, 0%) | |
| CIE LAB | lab(93.12, -5.86, 47.28) | |
| CIE LCH | lch(93.12, 47.64, 97.06) | |
| CIE XYZ | xyz(76.195, 83.237, 38.034) | |
| Decimal | 16772239 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #FFEC8F, 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 #FFEC8F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.65:1 | Pass | Pass | Pass |
| Sample text | 1.19:1 | Fail | Fail | Fail |
| #FFEC8F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.65: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 #FFEC8F looks to people with the most common types of color vision deficiency.
#fde788Protanopia
no red cones#ffee93Deuteranopia
no green cones#ffe0d5Tritanopia
no blue cones#ebebebAchromatopsia
no color vision
CSS examples
.background { background-color: #ffec8f; }
.text { color: #ffec8f; }
.border { border: 2px solid #ffec8f; }
.transparent { background-color: rgb(255 236 143 / 50%); }
.gradient { background: linear-gradient(to right, #ffec8f, #daff8f); }
Similar colors
#fbe98eChickery Chick#ffe989Quack Quack#ffee88Spätzle Yellow#fce883Sandworm#fbeb9bDrover#f6e491Beekeeper#fff39aGoldilocks#f2e688Templar’s Gold
Closest common color name: Pastel Yellow.
Questions
- What color is #FFEC8F?
- #FFEC8F is a light, vivid yellow, closest to the named color Chickery Chick. It belongs to the yellow family of colors.
- What is the RGB value of #FFEC8F?
- The RGB value is 255, 236, 143: 255 red, 236 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #FFEC8F?
- The complementary color is #8FA2FF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFEC8F?
- Black text. Black text has a contrast ratio of 17.65:1 and white text 1.19:1. WCAG asks for at least 4.5:1 for normal text.