Cornsilk — #FFF8DC
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Cornsilk values in every format
| CSS name | cornsilk |
|---|---|
| HEX | #FFF8DC |
| RGB | rgb(255, 248, 220) |
| RGB % | 100%, 97%, 86% |
| HSL | hsl(48, 100%, 93%) |
| HSV / HSB | 48°, 14%, 100% |
| CMYK (print) | 0%, 3%, 14%, 0% |
| Relative luminance | 0.936 |
| Contrast on black | 19.71 : 1 |
| Contrast on white | 1.07 : 1 |
| Best text colour on it | Black (19.71 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Cornsilk (50–950)
50 #FFFCF0100 #FFF8DB200 #FFEFAD300 #FFE270400 #FFD429500 #EBBC00600 #BD9700700 #947600800 #705A00900 #4C3D00950 #2E2500
The scale keeps Cornsilk's hue (48°) and saturation (100%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Cornsilk
Complementary: #FFF8DC#DCE3FF
Analogous: #FFE6DC#FFF8DC#F4FFDC
Triadic: #FFF8DC#DCFFF8#F8DCFF
Split-complementary: #FFF8DC#DCF4FF#E7DCFF
Square: #FFF8DC#DCFFE7#DCE3FF#FFDCF4
Computed by rotating the hue wheel from 48°. Try them live in the Colour Harmony Generator.
Closest named colours
lightyellow (#FFFFE0) · beige (#F5F5DC) · oldlace (#FDF5E6)
Using Cornsilk well
Cornsilk sits in the yellow family at 93% lightness — a light, vivid, warm colour. As a background it pairs best with black text (19.71:1 contrast). Its complement (#DCE3FF) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#FFE6DC, #F4FFDC) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Cornsilk is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Cornsilk?
#FFF8DC — the CSS named colour “cornsilk”. Its RGB is (255, 248, 220).
Is Cornsilk good for text or backgrounds?
As a background, black text reads best on it (19.71:1). As text itself on white it reaches 1.07:1 — not enough for body text at AA; use it for headings, large text or accents.
What colours go with Cornsilk?
Its complement #DCE3FF for contrast, analogous #FFE6DC and #F4FFDC for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Cornsilk in CMYK for printing?
C0 M3 Y14 K0. CMYK conversions of screen colours are a starting point — always proof before a print run.