#FFF8DC color
The hex color #FFF8DC is a very light, vivid yellow.
In the RGB color model it is made of 100% red, 97.3% green and 86.3% blue (255, 248, 220).
Its hue angle is 48°, with 100% saturation and 93% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 14% yellow and 0% black.
This exact color is also called Cornsilk.
Black text is the more readable choice on this background (contrast 19.71:1).
#FFF8DC color codes
| HEX | #FFF8DC | |
|---|---|---|
| RGB | rgb(255, 248, 220) | |
| RGB percent | rgb(100%, 97.3%, 86.3%) | |
| HSL | hsl(48, 100%, 93%) | |
| HSV / HSB | hsv(48, 14%, 100%) | |
| CMYK | cmyk(0%, 3%, 14%, 0%) | |
| CIE LAB | lab(97.46, -2.22, 14.29) | |
| CIE LCH | lch(97.46, 14.46, 98.82) | |
| CIE XYZ | xyz(87.725, 93.563, 81.134) | |
| Decimal | 16775388 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #FFF8DC, 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 #FFF8DC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.71:1 | Pass | Pass | Pass |
| Sample text | 1.07:1 | Fail | Fail | Fail |
| #FFF8DC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.71: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 #FFF8DC looks to people with the most common types of color vision deficiency.
#fef6daProtanopia
no red cones#fff9ddDeuteranopia
no green cones#fff4f0Tritanopia
no blue cones#f8f8f8Achromatopsia
no color vision
CSS examples
.background { background-color: #fff8dc; }
.text { color: #fff8dc; }
.border { border: 2px solid #fff8dc; }
.transparent { background-color: rgb(255 248 220 / 50%); }
.gradient { background: linear-gradient(to right, #fff8dc, #f5ffdc); }
Similar colors
#fff7dbButtermelon#fff6d9Hot Beach#fbf4d6Lunar Luxury#fff6d7Natural Wool#f9f5dbThunder & Lightning#fdf3d5Satin Cream White#f8f4d8Transcendence#fff9d8Warm Light
Questions
- What color is #FFF8DC?
- #FFF8DC is a very light, vivid yellow known as Cornsilk. It belongs to the beige family of colors.
- What is the RGB value of #FFF8DC?
- The RGB value is 255, 248, 220: 255 red, 248 green and 220 blue on a 0 to 255 scale.
- What is the complementary color of #FFF8DC?
- The complementary color is #DCE3FF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #FFF8DC?
- Black text. Black text has a contrast ratio of 19.71:1 and white text 1.07:1. WCAG asks for at least 4.5:1 for normal text.