Cornsilk — #FFF8DC HEX Color

About Cornsilk
Cornsilk (#FFF8DC) is a warm, light, vivid yellow tone with a hue of 48°, saturation of 100% and lightness of 93%. It works well for highlights and friendly designs and conveys a cheerful feeling. On a white background it reaches a contrast ratio of 1.07:1, while on black it reaches 19.71:1 — so prefer black text when using #FFF8DC as a background.
Color Codes
Accessibility & Contrast
Recommendation: when using #FFF8DC as a background, use black text for the highest contrast.
Color Schemes
Tints & Shades
CSS Code Snippets
background-color: #FFF8DC;color: #FFF8DC;border: 2px solid #FFF8DC;background: linear-gradient(135deg, #FFF8DC, #dce3ff);Code Export
:root {
--color-primary: #fff8dc;
--color-primary-rgb: 255, 248, 220;
--color-primary-hsl: 48, 100%, 93%;
}Explore Color Tools
Related Tools
Related Combinations
Frequently Asked Questions
What is the name of color #FFF8DC?
Color #FFF8DC is commonly known as Cornsilk. It is a warm, light, vivid yellow tone.
Is #FFF8DC a warm or cool color?
Cornsilk (#FFF8DC) is a warm color. With a hue of 48°, it falls in the yellow family.
What colors go well with #FFF8DC?
Colors that pair well with Cornsilk (#FFF8DC) include its complementary color (#DCE3FF), neutral whites and warm creams, and analogous yellow tones for harmonious palettes.