About #FFF8DC
#FFF8DC is a very pale, vivid amber with a hue angle of 48°. It belongs to the yellow family and reads as a warm color. In the RGB model red is the strongest channel at 255 (100%) and blue the weakest at 220 (86%). Colors like this are typically used for page backgrounds, cards and subtle section fills.
- It is the CSS named color cornsilk, so you can write
color: cornsilkinstead of the hex code.
Color conversions
| 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%) |
| CIELAB (D65) | lab(97.5 -2.2 14.3) |
| Decimal | 16775388 |
| Binary | 11111111 11111000 11011100 |
HEX FF F8 DC → 255, 248, 220 (each pair is a base-16 number: F×16 + F = 255)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #FFF8DC
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #FFF8DC | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 1.07:1 | Fail | Fail | Fail | Fail |
| Black text | 19.71:1 | Pass | Pass | Pass | Pass |
Relative luminance is 0.9356 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#fef6da
Deuteranopia#fff9dd
Tritanopia#fff4f0
Achromatopsia#f8f8f8
People with red–green color blindness see this color almost unchanged (ΔE 0.5 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| cornsilk | #fff8dc | 0 |
| beige | #f5f5dc | 3.1 |
| lightyellow | #ffffe0 | 3.4 |
| papayawhip | #ffefd5 | 4.6 |
CSS
.element {
color: #fff8dc;
background-color: rgb(255, 248, 220);
border: 1px solid hsl(48, 100%, 93%);
box-shadow: 0 2px 8px rgb(255 248 220 / 50%);
}
:root { --brand: #fff8dc; }