cornsilk

#FFF8DC

CSS color

Cornsilk (#FFF8DC) is a delicate pale yellow-cream CSS named color, referencing the color of the fine fibers (silk) found inside a corn husk. It is one of the warmest of the near-white CSS colors, slightly more golden than ivory or antique white. It evokes warm candlelight, aged paper, and handmade parchment in fine stationery.

Color Values

HEX

#FFF8DC

RGB

255, 248, 220

HSL

48.0, 100.0%, 93.1%

HSV

48.0, 13.7%, 100.0%

CMYK

0.0%, 2.7%, 13.7%, 0.0%

OKLCH

0.9773 0.0373 95.4

Properties

Color Psychology

Pale yellows and creams evoke sunlight, freshness, and intellectual clarity. They are the lightest chromatic colors the eye perceives, creating a sense of spaciousness and openness. Light yellow is often associated with new beginnings and gentle happiness.

Design Usage

Light yellows are excellent for background tints, highlight markers, and information callout boxes. They add warmth to white-dominated layouts without overwhelming the content hierarchy. Use them cautiously for text backgrounds since pale yellow on white creates poor contrast ratios.

Color Harmonies

Color Blindness Simulation

CSS Usage

background-color: #FFF8DC;
color: #FFF8DC;
border-color: #FFF8DC;
Nearest Tailwind: Yellow 50 #FEFCE8

Tailwind Shades

Contrast Checker

Text on white

1.07:1

AA Fail AAA Fail

Text on black

19.71:1

AA Pass AAA Pass

Compare With

Related Articles