#F8EFAC color
The hex color #F8EFAC is a very light, vivid yellow.
In the RGB color model it is made of 97.3% red, 93.7% green and 67.5% blue (248, 239, 172).
Its hue angle is 53°, with 84% saturation and 82% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 31% yellow and 3% black.
The closest named color is Casino Lights (#F9F2B3), a difference of 1.2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 17.93:1).
#F8EFAC color codes
| HEX | #F8EFAC | |
|---|---|---|
| RGB | rgb(248, 239, 172) | |
| RGB percent | rgb(97.3%, 93.7%, 67.5%) | |
| HSL | hsl(53, 84%, 82%) | |
| HSV / HSB | hsv(53, 31%, 97%) | |
| CMYK | cmyk(0%, 4%, 31%, 3%) | |
| CIE LAB | lab(93.74, -6.86, 33.57) | |
| CIE LCH | lch(93.74, 34.27, 101.55) | |
| CIE XYZ | xyz(77.025, 84.67, 51.307) | |
| Decimal | 16314284 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F8EFAC, 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 #F8EFAC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.93:1 | Pass | Pass | Pass |
| Sample text | 1.17:1 | Fail | Fail | Fail |
| #F8EFAC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 17.93: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 #F8EFAC looks to people with the most common types of color vision deficiency.
#fbeba7Protanopia
no red cones#feefaeDeuteranopia
no green cones#ffe6ddTritanopia
no blue cones#edededAchromatopsia
no color vision
CSS examples
.background { background-color: #f8efac; }
.text { color: #f8efac; }
.border { border: 2px solid #f8efac; }
.transparent { background-color: rgb(248 239 172 / 50%); }
.gradient { background: linear-gradient(to right, #f8efac, #dbf8ac); }
Similar colors
#f9f2b3Casino Lights#f6f1a9Sailor Moonlight#fdefadThunderbolt#f5edb2Sunbeam#f6eba1Lazy Daisy#fff6b9Glowlight#eee8aaPale Goldenrod#fff7adBanana Milk
Questions
- What color is #F8EFAC?
- #F8EFAC is a very light, vivid yellow, closest to the named color Casino Lights. It belongs to the beige family of colors.
- What is the RGB value of #F8EFAC?
- The RGB value is 248, 239, 172: 248 red, 239 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #F8EFAC?
- The complementary color is #ACB5F8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F8EFAC?
- Black text. Black text has a contrast ratio of 17.93:1 and white text 1.17:1. WCAG asks for at least 4.5:1 for normal text.