#FFEFB3 color
The hex color #FFEFB3 is a very light, vivid yellow.
In the RGB color model it is made of 100% red, 93.7% green and 70.2% blue (255, 239, 179).
Its hue angle is 47°, with 100% saturation and 85% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 30% yellow and 0% black.
The closest named color is Creamy Lemon (#FFF0B2), a difference of 0.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 18.25:1).
#FFEFB3 color codes
| HEX | #FFEFB3 | |
|---|---|---|
| RGB | rgb(255, 239, 179) | |
| RGB percent | rgb(100%, 93.7%, 70.2%) | |
| HSL | hsl(47, 100%, 85%) | |
| HSV / HSB | hsv(47, 30%, 100%) | |
| CMYK | cmyk(0%, 6%, 30%, 0%) | |
| CIE LAB | lab(94.42, -3.38, 31.04) | |
| CIE LCH | lch(94.42, 31.22, 96.21) | |
| CIE XYZ | xyz(80.244, 86.25, 55.06) | |
| Decimal | 16773043 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #FFEFB3, 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 #FFEFB3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.25:1 | Pass | Pass | Pass |
| Sample text | 1.15:1 | Fail | Fail | Fail |
| #FFEFB3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.15:1 | Fail | Fail | Fail |
| Sample text | 18.25: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 #FFEFB3 looks to people with the most common types of color vision deficiency.
#fbecafProtanopia
no red cones#fff1b5Deuteranopia
no green cones#ffe6dfTritanopia
no blue cones#efefefAchromatopsia
no color vision
CSS examples
.background { background-color: #ffefb3; }
.text { color: #ffefb3; }
.border { border: 2px solid #ffefb3; }
.transparent { background-color: rgb(255 239 179 / 50%); }
.gradient { background: linear-gradient(to right, #ffefb3, #e9ffb3); }
Similar colors
#fff0b2Creamy Lemon#fdefadThunderbolt#fbe8a8Bleached Sunflower#fff4bbJasmine#f5e5abButter Honey#f3e5abVanilla#f6edb6Veiled Treasure#fff6b9Glowlight
Questions
- What color is #FFEFB3?
- #FFEFB3 is a very light, vivid yellow, closest to the named color Creamy Lemon. It belongs to the beige family of colors.
- What is the RGB value of #FFEFB3?
- The RGB value is 255, 239, 179: 255 red, 239 green and 179 blue on a 0 to 255 scale.
- What is the complementary color of #FFEFB3?
- The complementary color is #B3C3FF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFEFB3?
- Black text. Black text has a contrast ratio of 18.25:1 and white text 1.15:1. WCAG asks for at least 4.5:1 for normal text.