Cornsilk is a near-white with a warm, pale yellow tint. Its code is #FFF8DC: red at full strength, green just below it at 248 and blue lower, at 220. The lower blue gives the yellow cast, and because green sits a little under red, the hue is 48°, a step from plain yellow toward gold. Beside ivory or cream it looks warmer and a shade more golden; beside beige it looks lighter and less gray.
The name is the CSS keyword cornsilk, after corn silk: the long, shiny threads that hang from the tip of an ear of corn, a term English has used since 1846. Each thread belongs to one female flower and must catch pollen for its kernel to form. In the field the threads are more colorful than the code. Growing silks are yellow-green, some hybrids have pink or red silks, and once their kernels are fertilized the silks turn brown.
As a color name, cornsilk started in the textile trade. Maerz and Paul’s 1930 A Dictionary of Color dates it to 1927, and its sample is a full light yellow, which the 1955 ISCC-NBS dictionary centers around #F8DE7E. The pale screen version came later. It isn’t in the X Window System’s color lists of 1987 and 1988: Paul Raveling put it in his 1989 revision, among light colors he copied from Sinclair Paints samples to give windows better light backgrounds, with four darker steps, cornsilk1 to cornsilk4. X11 Release 4 shipped it that December, and the web adopted the list in 2001.
On screens, cornsilk makes a soft page or card background. Black text on it has a contrast of 19.7:1, while white text practically disappears, at 1.07:1. It pairs well with navy, husk green, warm browns and charcoal, with a golden yellow as an accent.