#FFF2AC color
The hex color #FFF2AC is a very light, vivid yellow.
In the RGB color model it is made of 100% red, 94.9% green and 67.5% blue (255, 242, 172).
Its hue angle is 51°, with 100% saturation and 84% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 33% yellow and 0% black.
The closest named color is Thunderbolt (#FDEFAD), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 18.55:1).
#FFF2AC color codes
| HEX | #FFF2AC | |
|---|---|---|
| RGB | rgb(255, 242, 172) | |
| RGB percent | rgb(100%, 94.9%, 67.5%) | |
| HSL | hsl(51, 100%, 84%) | |
| HSV / HSB | hsv(51, 33%, 100%) | |
| CMYK | cmyk(0%, 5%, 33%, 0%) | |
| CIE LAB | lab(95.05, -5.73, 35.42) | |
| CIE LCH | lch(95.05, 35.88, 99.19) | |
| CIE XYZ | xyz(80.439, 87.745, 51.721) | |
| Decimal | 16773804 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #FFF2AC, 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 #FFF2AC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.55:1 | Pass | Pass | Pass |
| Sample text | 1.13:1 | Fail | Fail | Fail |
| #FFF2AC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.55: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 #FFF2AC looks to people with the most common types of color vision deficiency.
#ffeea7Protanopia
no red cones#fff3afDeuteranopia
no green cones#ffe8e0Tritanopia
no blue cones#f1f1f1Achromatopsia
no color vision
CSS examples
.background { background-color: #fff2ac; }
.text { color: #fff2ac; }
.border { border: 2px solid #fff2ac; }
.transparent { background-color: rgb(255 242 172 / 50%); }
.gradient { background: linear-gradient(to right, #fff2ac, #e3ffac); }
Similar colors
#fdefadThunderbolt#feeea5Cream and Butter#fff0a4Buttered Popcorn#ffeea5Sour Lemon#fff0b2Creamy Lemon#fff7adBanana Milk#f6eba1Lazy Daisy#faf3a6Banan-Appeal
Closest common color name: Pale Goldenrod.
Questions
- What color is #FFF2AC?
- #FFF2AC is a very light, vivid yellow, closest to the named color Thunderbolt. It belongs to the yellow family of colors.
- What is the RGB value of #FFF2AC?
- The RGB value is 255, 242, 172: 255 red, 242 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #FFF2AC?
- The complementary color is #ACB9FF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFF2AC?
- Black text. Black text has a contrast ratio of 18.55:1 and white text 1.13:1. WCAG asks for at least 4.5:1 for normal text.