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.

颜色值

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

属性

色彩心理学

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.

配色方案

色觉模拟

CSS 用法

background-color: #FFF8DC;
color: #FFF8DC;
border-color: #FFF8DC;
最接近的 Tailwind: Yellow 50 #FEFCE8

Tailwind 色阶

对比度检查器

白底文字

1.07:1

AA Fail AAA Fail

黑底文字

19.71:1

AA Pass AAA Pass

与之比较

相关文章