Skip to content

Cornsilk#FFF8DC HEX Color

#FFF8DCrgb(255, 248, 220)
#FFF8DC color swatch

About Cornsilk

Cornsilk (#FFF8DC) is a warm, light, vivid yellow tone with a hue of 48°, saturation of 100% and lightness of 93%. It works well for highlights and friendly designs and conveys a cheerful feeling. On a white background it reaches a contrast ratio of 1.07:1, while on black it reaches 19.71:1 — so prefer black text when using #FFF8DC as a background.

Color Codes

HEX#FFF8DC
RGBrgb(255, 248, 220)
HSLhsl(48°, 100%, 93%)
CMYKcmyk(0%, 3%, 14%, 0%)
CIELABLab(97.5, -2.2, 14.3)

Accessibility & Contrast

On white
1.07:1
AA Normalfails
AA Largefails
AAA Normalfails
AAA Largefails
On black
19.71:1
AA Normalpasses
AA Largepasses
AAA Normalpasses
AAA Largepasses

Recommendation: when using #FFF8DC as a background, use black text for the highest contrast.

Color Schemes

Tints & Shades

CSS Code Snippets

background-color: #FFF8DC;
color: #FFF8DC;
border: 2px solid #FFF8DC;
background: linear-gradient(135deg, #FFF8DC, #dce3ff);

Code Export

css
:root {
  --color-primary: #fff8dc;
  --color-primary-rgb: 255, 248, 220;
  --color-primary-hsl: 48, 100%, 93%;
}

Explore Color Tools

Related Tools

Related Combinations

Frequently Asked Questions

What is the name of color #FFF8DC?

Color #FFF8DC is commonly known as Cornsilk. It is a warm, light, vivid yellow tone.

Is #FFF8DC a warm or cool color?

Cornsilk (#FFF8DC) is a warm color. With a hue of 48°, it falls in the yellow family.

What colors go well with #FFF8DC?

Colors that pair well with Cornsilk (#FFF8DC) include its complementary color (#DCE3FF), neutral whites and warm creams, and analogous yellow tones for harmonious palettes.