Corn Silk color codes
| CSS name | cornsilk |
|---|---|
| HEX | #FFF8DC |
| RGB | rgb(255, 248, 220) |
| HSL | hsl(48, 100%, 93%) |
| CMYK | cmyk(0%, 3%, 14%, 0%) |
| Decimal | 16775388 |
Shades of Corn Silk (darker)
#E6DFC6 · #CCC6B0 · #B3AE9A · #999584 · #807C6E · #666358 · #4D4A42 · #33322C · #1A1916
Tints of Corn Silk (lighter)
#FFF9E0 · #FFF9E3 · #FFFAE7 · #FFFBEA · #FFFCEE · #FFFCF1 · #FFFDF5 · #FFFEF8 · #FFFEFC
Color harmonies
| Complementary | #DBE2FF |
|---|---|
| Triadic | #DBFFF8, #F8DBFF |
| Analogous | #FFE6DB, #F4FFDB |
Accessibility (WCAG contrast)
| White text on Corn Silk | 1.07:1 · Fail |
|---|---|
| Black text on Corn Silk | 19.71:1 · AAA |
Use Corn Silk in code
.element {
color: cornsilk; /* or #fff8dc */
background-color: rgb(255 248 220 / 0.5);
}Frequently asked questions
What is the hex code for Corn Silk?
Corn Silk is #FFF8DC in HEX, rgb(255, 248, 220) in RGB and hsl(48, 100%, 93%) in HSL.
Can I use "cornsilk" directly in CSS?
Yes. "cornsilk" is one of the 148 standard CSS named colors, so color: cornsilk; works in every browser.
Is Corn Silk readable on white?
The contrast ratio of Corn Silk on white is 1.07:1 (WCAG Fail). On black it is 19.71:1 (AAA).
What is the complementary color of Corn Silk?
The complementary color (opposite on the color wheel) is #DBE2FF.
Similar colors
Light Yellow#FFFFE0Beige#F5F5DCOld Lace#FDF5E6Light Goldenrod Yellow#FAFAD2Papaya Whip#FFEFD5Linen#FAF0E6Antique White#FAEBD7Lemon Chiffon#FFFACD
Convert any color with the Color Converter, generate palettes with the Random Color Generator, or browse all 148 CSS color names.