AfoliOpen Afoli →

Cornsilk color #FFF8DC

Cornsilk is one of the CSS named colors (keyword cornsilk) with the hex code #FFF8DC — RGB 255, 248, 220, HSL 48°, 100%, 93%.

Open in Afoli Colour tools →

#FFF8DCCornsilk

Color codes

HEX
#FFF8DC
RGB
rgb(255, 248, 220)
HSL
hsl(48, 100%, 93%)
CMYK
0%, 3%, 14%, 0%
OKLCH
oklch(97.7% 0.037 95.4)
CSS keyword
cornsilk

Tints and shades

#FDF6DA#E1DABF#C7C0A5#ADA68C#938D74#7B755C#635D45#4D472F#37311B#231D07#0F0B00

Color harmonies

Complementary
#FFF8DC#F5F7FF
Analogous
#FFF6ED#FFF8DC#F1FDE2
Triadic
#FFF8DC#EAFBFF#FFF3FC
Split complementary
#FFF8DC#F1F9FF#FAF5FF
Tetradic
#FFF8DC#E0FFFB#F5F7FF#FFF4F6

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Cornsilk text on white1.07 : 10Fails for text
Cornsilk text on black19.71 : 1-103AAA — any text
White text on Cornsilk1.07 : 10Fails for text
Black text on Cornsilk19.71 : 1102AAA — any text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Cornsilk?

Cornsilk has the hex code #FFF8DC, which is RGB 255, 248, 220 and HSL 48°, 100%, 93%.

Which text color reads best on Cornsilk?

Black text: contrast 19.71 : 1 (white text: 1.07 : 1).

Which colors go well with Cornsilk?

Its complementary color is #F5F7FF; analogous colors are #FFF6ED and #F1FDE2; a triadic set adds #EAFBFF and #FFF3FC.

Similar colors

Sources and licences

Updated November 21, 2026