Cornsilk is a very light, vivid shade in the yellow color family, with a warm feel. Its HEX code is #FFF8DC, which equals rgb(255, 248, 220) in RGB and hsl(48, 100%, 93%) in HSL. In print terms it converts to roughly C0 M3 Y14 K0, although exact CMYK results depend on the paper and color profile.
- HEX
#FFF8DC - RGB
255, 248, 220 - HSL
48°, 100%, 93% - CMYK
0, 3, 14, 0 - Family
Yellow - Tone
Very light, vivid
About Cornsilk
Yellow shades are bright, sunny and attention-grabbing. They suggest optimism and clarity, and are often used for highlights, warnings and happy, youthful designs. Try it as a primary brand color, a section background, or a highlight against neutral layouts. Text in black is the most readable choice on this color, with a contrast ratio of 19.71:1. Its complementary color is #DBE2FF.
Download Cornsilk as an image
Choose a size and format, then download a solid-color image — or tick colors in the library to batch-download a ZIP.
Loading colors…
Loading gradients…
Cornsilk color codes
| HEX | #FFF8DC |
|---|---|
| RGB | rgb(255, 248, 220) |
| HSL | hsl(48, 100%, 93%) |
| HSV | 48°, 14%, 100% |
| CMYK | 0%, 3%, 14%, 0% |
| Decimal | 16775388 |
Shades and tints of Cornsilk
Lighter tints are mixed with white and darker shades are mixed with black.
- 50
#FFFEF9 - 100
#FFFDF3 - 200
#FFFCEE - 300
#FFFAE8 - 400
#FFF9E2 - 500
#FFF8DC - 600
#D5CFB7 - 700
#AAA593 - 800
#807C6E - 900
#555349 - 950
#2B2925
Color harmonies for Cornsilk
- Complementary
#DBE2FF≈ Palest Soft Cornflower - Analogous −30°
#FFE6DB≈ Misty Rose - Analogous +30°
#F4FFDB≈ Palest Bright Citron - Triadic +120°
#DBFFF8≈ Light Cyan - Triadic +240°
#F8DBFF≈ Palest Soft Magenta - Split 150°
#DBF4FF≈ Palest Soft Cyan - Split 210°
#E6DBFF≈ Palest Soft Violet
Contrast and accessibility of Cornsilk
| Text color | Sample | Contrast ratio | WCAG |
|---|---|---|---|
| White text on Cornsilk | Aa | 1.07:1 | Fails |
| Black text on Cornsilk | Aa | 19.71:1 | AAA (excellent) |
CSS code for Cornsilk
background-color: #FFF8DC;color: #FFF8DC;background-color: rgb(255, 248, 220);background-color: hsl(48, 100%, 93%);:root { --color-cornsilk: #FFF8DC; }class="bg-[#FFF8DC]"Colors similar to Cornsilk
- Light Yellow
#FFFFE0 - Old Lace
#FDF5E6 - Light Goldenrod Yellow
#FAFAD2 - Beige
#F5F5DC - Palest Bright Gold
#FAF6D1 - Palest Bright Yellow
#FAFAD1 - Cream
#FFFDD0 - Palest Soft Yellow
#F5F5D6 - Papaya Whip
#FFEFD5 - Palest Bright Marigold
#FAF2D1 - Lemon Chiffon
#FFFACD - Palest Bright Citron
#F6FAD1
More yellow shades
- Gold
#FFD700 - Khaki
#F0E68C - Lemon Chiffon
#FFFACD - Light Yellow
#FFFFE0 - Dark Khaki
#BDB76B - Light Goldenrod Yellow
#FAFAD2 - Olive
#808000 - Pale Goldenrod
#EEE8AA - Yellow
#FFFF00 - Sage
#B2AC88 - Mustard
#FFDB58
Frequently asked questions
What is the HEX code for Cornsilk?
The HEX code for Cornsilk is #FFF8DC.
What is the RGB value of Cornsilk?
Cornsilk has an RGB value of 255, 248, 220 (rgb(255, 248, 220)). In HSL it is 48°, 100%, 93%.
What text color should I use on Cornsilk?
Use black text on Cornsilk. White text has a contrast ratio of 1.07:1 and black text has 19.71:1; WCAG AA requires at least 4.5:1 for normal text.
What color goes well with Cornsilk?
The complementary color of Cornsilk is #DBE2FF. Analogous colors #FFE6DB and #F4FFDB also pair well.
