#FFF8DC
cornsilk
#FFF8DC is the CSS named color "cornsilk", an exact match. In RGB it breaks down to red 255, green 248, and blue 220 out of 255 each. In HSL terms that's a hue of 48°, 100% saturation, and 93% lightness: very light, close to white — it works best as a background with dark text on top, not as text on a light page.
Every format
| HEX | #fff8dc |
| RGB | rgb(255, 248, 220) |
| HSL | hsl(48° 100% 93%) |
| HSB | hsb(48° 14% 100%) |
| OKLCH | oklch(98% 0.037 95°) |
| OKLAB | oklab(98% -0.004 0.037) |
| LCH | lch(98% 14.4 94°) |
| CMYK | cmyk(0% 3% 14% 0%) |
Shades (darker)
#fff8dc · #e5dec3 · #cbc5aa · #b3ac92 · #9a947a
Tints (lighter)
#fff8dc · #fff9dd · #fffadd · #fffade · #fffbdf
Shades mix #FFF8DC toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 1.07:1 — fails
On black: 19.71:1 — AAA
Frequently asked
- What is #FFF8DC in RGB?
- #FFF8DC is rgb(255, 248, 220) — red 255, green 248, blue 220 out of 255 each.
- Does #FFF8DC pass WCAG contrast on a white background?
- It has a contrast ratio of 1.07:1 against white, which fails for normal text.
- What's a good background color to pair with #FFF8DC?
- Black text or a black background gives better contrast (19.71:1) than white (1.07:1).