#FFF2AB color
The hex color #FFF2AB is a very light, vivid yellow.
In the RGB color model it is made of 100% red, 94.9% green and 67.1% blue (255, 242, 171).
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 Buttered Popcorn (#FFF0A4), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 18.54:1).
#FFF2AB color codes
| HEX | #FFF2AB | |
|---|---|---|
| RGB | rgb(255, 242, 171) | |
| RGB percent | rgb(100%, 94.9%, 67.1%) | |
| HSL | hsl(51, 100%, 84%) | |
| HSV / HSB | hsv(51, 33%, 100%) | |
| CMYK | cmyk(0%, 5%, 33%, 0%) | |
| CIE LAB | lab(95.04, -5.85, 35.9) | |
| CIE LCH | lch(95.04, 36.37, 99.25) | |
| CIE XYZ | xyz(80.344, 87.707, 51.217) | |
| Decimal | 16773803 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #FFF2AB, 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 #FFF2AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.54:1 | Pass | Pass | Pass |
| Sample text | 1.13:1 | Fail | Fail | Fail |
| #FFF2AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.54: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 #FFF2AB looks to people with the most common types of color vision deficiency.
#ffeea6Protanopia
no red cones#fff3aeDeuteranopia
no green cones#ffe8e0Tritanopia
no blue cones#f1f1f1Achromatopsia
no color vision
CSS examples
.background { background-color: #fff2ab; }
.text { color: #fff2ab; }
.border { border: 2px solid #fff2ab; }
.transparent { background-color: rgb(255 242 171 / 50%); }
.gradient { background: linear-gradient(to right, #fff2ab, #e2ffab); }
Similar colors
#fff0a4Buttered Popcorn#fdefadThunderbolt#feeea5Cream and Butter#ffeea5Sour Lemon#fff7adBanana Milk#f6eba1Lazy Daisy#fff0b2Creamy Lemon#fff3a1Firefly Glow
Closest common color name: Pale Goldenrod.
Questions
- What color is #FFF2AB?
- #FFF2AB 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 #FFF2AB?
- The RGB value is 255, 242, 171: 255 red, 242 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #FFF2AB?
- The complementary color is #ABB8FF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFF2AB?
- Black text. Black text has a contrast ratio of 18.54:1 and white text 1.13:1. WCAG asks for at least 4.5:1 for normal text.