#FFFB98 color
The hex color #FFFB98 is a light, vivid yellow.
In the RGB color model it is made of 100% red, 98.4% green and 59.6% blue (255, 251, 152).
Its hue angle is 58°, with 100% saturation and 80% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 40% yellow and 0% black.
The closest named color is Pastel Yellow (#FDFD96), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 19.5:1).
#FFFB98 color codes
| HEX | #FFFB98 | |
|---|---|---|
| RGB | rgb(255, 251, 152) | |
| RGB percent | rgb(100%, 98.4%, 59.6%) | |
| HSL | hsl(58, 100%, 80%) | |
| HSV / HSB | hsv(58, 40%, 100%) | |
| CMYK | cmyk(0%, 2%, 40%, 0%) | |
| CIE LAB | lab(97.03, -12.38, 47.84) | |
| CIE LCH | lch(97.03, 49.42, 104.51) | |
| CIE XYZ | xyz(81.406, 92.523, 43.27) | |
| Decimal | 16776088 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #FFFB98, 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 #FFFB98 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.5:1 | Pass | Pass | Pass |
| Sample text | 1.08:1 | Fail | Fail | Fail |
| #FFFB98 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.5: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 #FFFB98 looks to people with the most common types of color vision deficiency.
#fff490Protanopia
no red cones#fff99cDeuteranopia
no green cones#ffefe3Tritanopia
no blue cones#f6f6f6Achromatopsia
no color vision
CSS examples
.background { background-color: #fffb98; }
.text { color: #fffb98; }
.border { border: 2px solid #fffb98; }
.transparent { background-color: rgb(255 251 152 / 50%); }
.gradient { background: linear-gradient(to right, #fffb98, #d0ff98); }
Similar colors
#fdfd96Pastel Yellow#fcfc9dWalking on Sunshine#f9f59fYippie Ya Yellow#fff49cBanana Cream#ffffaaGinger Lemon Tea#fff39aGoldilocks#fffbabBollywood Gold#eeee88Pineapple Perfume
Questions
- What color is #FFFB98?
- #FFFB98 is a light, vivid yellow, closest to the named color Pastel Yellow. It belongs to the yellow family of colors.
- What is the RGB value of #FFFB98?
- The RGB value is 255, 251, 152: 255 red, 251 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #FFFB98?
- The complementary color is #989CFF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFFB98?
- Black text. Black text has a contrast ratio of 19.5:1 and white text 1.08:1. WCAG asks for at least 4.5:1 for normal text.