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.

Giá trị màu sắc

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

Thuộc tính

Tâm lý màu sắc

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.

Hòa âm màu sắc

Mô phỏng mù màu

Sử dụng CSS

background-color: #FFF8DC;
color: #FFF8DC;
border-color: #FFF8DC;
Tailwind gần nhất: Yellow 50 #FEFCE8

Sắc độ Tailwind

Kiểm tra tương phản

Văn bản trên nền trắng

1,07:1

AA Fail AAA Fail

Văn bản trên nền đen

19,71:1

AA Pass AAA Pass

So sánh với

Bài viết liên quan

Câu hỏi thường gặp

What are the RGB, HSL, and CMYK values of #FFF8DC?

RGB(255, 248, 220) · HSL(48,0, 100,0%, 93,1%) · CMYK(0,0%, 2,7%, 13,7%, 0,0%)

Does #FFF8DC meet WCAG contrast on white?

1,07:1 — WCAG AA Không đạt, AAA Không đạt for normal text.

What text color is readable on #FFF8DC?

Use 000000 text on a #FFF8DC background; contrast on black is 19,71:1.