Corn Silk #FFF8DC

Corn Silk#FFF8DC · rgb(255, 248, 220)

Corn Silk color codes

CSS namecornsilk
HEX#FFF8DC
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93%)
CMYKcmyk(0%, 3%, 14%, 0%)
Decimal16775388

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 Silk1.07:1 · Fail
Black text on Corn Silk19.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

Convert any color with the Color Converter, generate palettes with the Random Color Generator, or browse all 148 CSS color names.