#FFF2A7 color
The hex color #FFF2A7 is a very light, vivid yellow.
In the RGB color model it is made of 100% red, 94.9% green and 65.5% blue (255, 242, 167).
Its hue angle is 51°, with 100% saturation and 83% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 35% yellow and 0% black.
The closest named color is Buttered Popcorn (#FFF0A4), a difference of 0.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 18.51:1).
#FFF2A7 color codes
| HEX | #FFF2A7 | |
|---|---|---|
| RGB | rgb(255, 242, 167) | |
| RGB percent | rgb(100%, 94.9%, 65.5%) | |
| HSL | hsl(51, 100%, 83%) | |
| HSV / HSB | hsv(51, 35%, 100%) | |
| CMYK | cmyk(0%, 5%, 35%, 0%) | |
| CIE LAB | lab(94.97, -6.31, 37.82) | |
| CIE LCH | lch(94.97, 38.34, 99.48) | |
| CIE XYZ | xyz(79.968, 87.556, 49.239) | |
| Decimal | 16773799 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #FFF2A7, 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 #FFF2A7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.51:1 | Pass | Pass | Pass |
| Sample text | 1.13:1 | Fail | Fail | Fail |
| #FFF2A7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.51: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 #FFF2A7 looks to people with the most common types of color vision deficiency.
#ffeea2Protanopia
no red cones#fff3aaDeuteranopia
no green cones#ffe8dfTritanopia
no blue cones#f1f1f1Achromatopsia
no color vision
CSS examples
.background { background-color: #fff2a7; }
.text { color: #fff2a7; }
.border { border: 2px solid #fff2a7; }
.transparent { background-color: rgb(255 242 167 / 50%); }
.gradient { background: linear-gradient(to right, #fff2a7, #e0ffa7); }
Similar colors
#fff0a4Buttered Popcorn#feeea5Cream and Butter#fff3a1Firefly Glow#ffeea5Sour Lemon#f6eba1Lazy Daisy#fff7adBanana Milk#faf3a6Banan-Appeal#fdefadThunderbolt
Closest common color name: Pale Goldenrod.
Questions
- What color is #FFF2A7?
- #FFF2A7 is a very light, vivid yellow, closest to the named color Buttered Popcorn. It belongs to the yellow family of colors.
- What is the RGB value of #FFF2A7?
- The RGB value is 255, 242, 167: 255 red, 242 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of #FFF2A7?
- The complementary color is #A7B4FF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFF2A7?
- Black text. Black text has a contrast ratio of 18.51:1 and white text 1.13:1. WCAG asks for at least 4.5:1 for normal text.