#FFEFA6 color
The hex color #FFEFA6 is a very light, vivid yellow.
In the RGB color model it is made of 100% red, 93.7% green and 65.1% blue (255, 239, 166).
Its hue angle is 49°, with 100% saturation and 83% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 35% yellow and 0% black.
The closest named color is Cream and Butter (#FEEEA5), a difference of 0.2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 18.15:1).
#FFEFA6 color codes
| HEX | #FFEFA6 | |
|---|---|---|
| RGB | rgb(255, 239, 166) | |
| RGB percent | rgb(100%, 93.7%, 65.1%) | |
| HSL | hsl(49, 100%, 83%) | |
| HSV / HSB | hsv(49, 35%, 100%) | |
| CMYK | cmyk(0%, 6%, 35%, 0%) | |
| CIE LAB | lab(94.2, -4.93, 37.31) | |
| CIE LCH | lch(94.2, 37.63, 97.53) | |
| CIE XYZ | xyz(78.991, 85.748, 48.459) | |
| Decimal | 16773030 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #FFEFA6, 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 #FFEFA6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.15:1 | Pass | Pass | Pass |
| Sample text | 1.16:1 | Fail | Fail | Fail |
| #FFEFA6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.15: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 #FFEFA6 looks to people with the most common types of color vision deficiency.
#fdeba1Protanopia
no red cones#fff1a9Deuteranopia
no green cones#ffe5dcTritanopia
no blue cones#eeeeeeAchromatopsia
no color vision
CSS examples
.background { background-color: #ffefa6; }
.text { color: #ffefa6; }
.border { border: 2px solid #ffefa6; }
.transparent { background-color: rgb(255 239 166 / 50%); }
.gradient { background: linear-gradient(to right, #ffefa6, #e3ffa6); }
Similar colors
#feeea5Cream and Butter#ffeea5Sour Lemon#fff0a4Buttered Popcorn#fdea9fEggnog#fdefadThunderbolt#fbeb9bDrover#f6eba1Lazy Daisy#fff3a1Firefly Glow
Closest common color name: Vanilla.
Questions
- What color is #FFEFA6?
- #FFEFA6 is a very light, vivid yellow, closest to the named color Cream and Butter. It belongs to the yellow family of colors.
- What is the RGB value of #FFEFA6?
- The RGB value is 255, 239, 166: 255 red, 239 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #FFEFA6?
- The complementary color is #A6B6FF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFEFA6?
- Black text. Black text has a contrast ratio of 18.15:1 and white text 1.16:1. WCAG asks for at least 4.5:1 for normal text.