#FFFFFB color
The hex color #FFFFFB is a very light, vivid yellow.
In the RGB color model it is made of 100% red, 100% green and 98.4% blue (255, 255, 251).
Its hue angle is 60°, with 100% saturation and 99% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 2% yellow and 0% black.
The closest named color is Lotion (#FEFDFA), a difference of 0.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 20.95:1).
#FFFFFB color codes
| HEX | #FFFFFB | |
|---|---|---|
| RGB | rgb(255, 255, 251) | |
| RGB percent | rgb(100%, 100%, 98.4%) | |
| HSL | hsl(60, 100%, 99%) | |
| HSV / HSB | hsv(60, 2%, 100%) | |
| CMYK | cmyk(0%, 0%, 2%, 0%) | |
| CIE LAB | lab(99.9, -0.69, 1.91) | |
| CIE LCH | lch(99.9, 2.03, 110.02) | |
| CIE XYZ | xyz(94.41, 99.745, 105.527) | |
| Decimal | 16777211 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #FFFFFB, 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 #FFFFFB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.95:1 | Pass | Pass | Pass |
| Sample text | 1:1 | Fail | Fail | Fail |
| #FFFFFB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1:1 | Fail | Fail | Fail |
| Sample text | 20.95: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 #FFFFFB looks to people with the most common types of color vision deficiency.
#fffffbProtanopia
no red cones#fffffbDeuteranopia
no green cones#fffefeTritanopia
no blue cones#ffffffAchromatopsia
no color vision
CSS examples
.background { background-color: #fffffb; }
.text { color: #fffffb; }
.border { border: 2px solid #fffffb; }
.transparent { background-color: rgb(255 255 251 / 50%); }
.gradient { background: linear-gradient(to right, #fffffb, #fdfffb); }
Similar colors
#fefdfaLotion#faf9f6Off White#fcfdfcEmptiness#f8fbf8White Porcelain#fcfff9Ceramic#ffffffWhite#fdfdfdBrilliance#fcffffPolar Bear in a Blizzard
Questions
- What color is #FFFFFB?
- #FFFFFB is a very light, vivid yellow, closest to the named color Lotion. It belongs to the white family of colors.
- What is the RGB value of #FFFFFB?
- The RGB value is 255, 255, 251: 255 red, 255 green and 251 blue on a 0 to 255 scale.
- What is the complementary color of #FFFFFB?
- The complementary color is #FBFBFF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFFFFB?
- Black text. Black text has a contrast ratio of 20.95:1 and white text 1:1. WCAG asks for at least 4.5:1 for normal text.