cornsilk cornsilk #fff8dc

cornsilk is #fff8dc in hexadecimal, rgb(255, 248, 220) in decimal and hsl(48, 100, 93) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.

HEX · RGB · HSL

#fff8dc
HEX#fff8dc
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93%)

Harmonies

Complementary

#dbe2ff

Analogous

#ffe6db#f4ffdb

Triadic

#dbfff8#f8dbff

Split complementary

#dbf4ff#e6dbff

Tints & shades

#ffea94#fff1b8#fff8db#fffbeb#fffbeb

Accessibility

vs #ffffff1.07:1
vs #00000019.71:1
Suggested text color#000000 · 19.71:1 · WCAG AAA

Similar named colors

lightyellow#ffffe0beige#f5f5dcoldlace#fdf5e6lightgoldenrodyellow#fafad2papayawhip#ffefd5linen#faf0e6

FAQ

What is the HEX code for cornsilk?

cornsilk is #fff8dc in hex, rgb(255, 248, 220) in decimal and hsl(48, 100%, 93%) in HSL. In CSS you can write either color: cornsilk; or color: #fff8dc; — they are equivalent.

What colors go with cornsilk?

The complementary #dbe2ff gives the strongest contrast, the analogous pair #ffe6db / #f4ffdb is the safest, and the triad #dbfff8 / #f8dbff adds more tension. All three are derived from the 48° hue of #fff8dc.

Does #fff8dc read better on white or black?

Its contrast is 1.07:1 against white and 19.71:1 against black. Use #000000 text on it — that gives 19.71:1, which meets WCAG AAA.

Is a named color different from a hex color?

No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.

← All named colors