TintShelf
Interface

Cornsilk Color Code: Hex #FFF8DC

The hex code for Cornsilk is #FFF8DC (the CSS keyword cornsilk). Cornsilk RGB code: rgb(255, 248, 220).

CSS Color 4, meodai color-name-list#FFF8DCThe same code in all 2 lists

Cornsilk color codes: the Cornsilk hex code in every format

HEX#FFF8DC
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93%)
OKLCHoklch(97.7% 0.037 95.4)
LABlab(97.6 -1.0 14.4)
CMYKcmyk(0%, 3%, 14%, 0%)

Sources

CSS Color 4web standard keyword
meodai color-name-listopen community list

Properties

Hex codes
the same in all 2 color lists
Family
yellow
Contrast
1.07:1 with white, 19.71:1 with black
CSS keyword
cornsilk
Character
very light, muted
Readable text on it
black (AA)

It represents the color of cornsilk, the threads on an ear of corn; recorded as a color name from 1927 and added to the X11 list in 1987.

A very light, muted yellow with a warm cast. In code, cornsilk gives exactly this hex value. Every list that includes the name agrees on it, so there is only one code to remember.

Black text reads best on it; white text does not pass WCAG AA. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Next to Beige, its closest named neighbour, it looks about as light, about as saturated and neither warmer nor cooler; beside Off White it looks about as light, about as saturated and neither warmer nor cooler.

Colors that go with Cornsilk

Complementary: the opposite of Cornsilk

Open in generator

  • #FFF8DCBlack text 19.71:1
  • #F5F7FFBlack text 19.63:1
  • #FFFBECBlack text 20.26:1
  • #98999EBlack text 7.39:1

Analogous

Open in generator

  • #FFF6EDBlack text 19.66:1
  • #FFF8DCBlack text 19.71:1
  • #F1FDE2Black text 19.89:1
  • #FFFCF1Black text 20.45:1

Triadic

Open in generator

  • #FFF8DCBlack text 19.71:1
  • #EBFBFFBlack text 19.78:1
  • #FFF4FCBlack text 19.60:1
  • #FFFDF6Black text 20.63:1

Monochrome

Open in generator

  • #48453CWhite text 9.58:1
  • #9E9A88Black text 7.43:1
  • #FFF8DCBlack text 19.71:1
  • #FFFAE7Black text 20.08:1
  • #FFFCF1Black text 20.45:1

With neutrals

Open in generator

  • #FFF8DCBlack text 19.71:1
  • #FFFDF6Black text 20.63:1
  • #22201BWhite text 16.27:1
  • #A4A29BBlack text 8.22:1

How tints, shades and harmonies are calculated

Preview

Heading on Cornsilk

Body text on this color, 19.71:1.

Button

Heading in Cornsilk

Text in this color on white, 1.07:1.

Button

Tints and shades

  1. #FFFDF6
  2. #FFFCF1
  3. #FFFBEC
  4. #FFFAE7
  5. #FFF9E1
  6. #FFF8DC
  7. #CEC8B1
  8. #9E9A88
  9. #716E61
  10. #48453C
  11. #22201B

WhiteCornsilkBlack

Similar named colors

Where the name comes from

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.