Cornsilk

Online color picker to view shades, tints, color codes, and complementary colors

Cornsilk color codes graphic
Cornsilk is a luminous, pale yellow that feels cleaner and less sterile than pure white. This shade offers excellent contrast for black text, making it a highly readable choice for web backgrounds. Pair it with sage green or soft gray to balance its inherent warmth. The hex code for Cornsilk is #fff8dc.

Questions about Cornsilk

What is the hex code for Cornsilk?
Cornsilk is #fff8dc. In RGB that is rgb(255, 248, 220), in HSL hsl(48, 100%, 93%) and in CMYK 0%, 3%, 14%, 0%.
Does #fff8dc work well for text-heavy web backgrounds?
Cornsilk provides an excellent, low-glare surface for black text, making it far easier on the eyes than pure white. Its inherent warmth reduces visual fatigue while maintaining enough contrast to keep copy sharp and highly legible for long-form reading.
Which color palettes complement the warmth of #fff8dc?
To balance the creamy nature of Cornsilk, pair it with cool, muted tones like sage or slate blue. If you prefer a sophisticated look, using charcoal for typography grounds the lightness of the background without creating harsh, jarring visual tension.
Is Cornsilk readable on white or black?
Cornsilk has a 1.06:1 contrast ratio on white and 19.71:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.