Cornsilk color #FFF8DC
Cornsilk is one of the CSS named colors (keyword cornsilk) with the hex code #FFF8DC — RGB 255, 248, 220, HSL 48°, 100%, 93%.
#FFF8DCCornsilk
Color codes
- HEX
#FFF8DC- RGB
rgb(255, 248, 220)- HSL
hsl(48, 100%, 93%)- CMYK
0%, 3%, 14%, 0%- OKLCH
oklch(97.7% 0.037 95.4)- CSS keyword
cornsilk
Tints and shades
#FDF6DA#E1DABF#C7C0A5#ADA68C#938D74#7B755C#635D45#4D472F#37311B#231D07#0F0B00
Color harmonies
Complementary
#FFF8DC#F5F7FF
Analogous
#FFF6ED#FFF8DC#F1FDE2
Triadic
#FFF8DC#EAFBFF#FFF3FC
Split complementary
#FFF8DC#F1F9FF#FAF5FF
Tetradic
#FFF8DC#E0FFFB#F5F7FF#FFF4F6
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Cornsilk text on white | 1.07 : 1 | 0 | Fails for text |
| Cornsilk text on black | 19.71 : 1 | -103 | AAA — any text |
| White text on Cornsilk | 1.07 : 1 | 0 | Fails for text |
| Black text on Cornsilk | 19.71 : 1 | 102 | AAA — any text |
Palettes with this color
- Brown Green & Old Lace
- Camo & Almost Black
- Marine & Papaya Whip
- Army Green & Blanched Almond
- Fawn & Dark Brown
- Sea & Dark Forest Green
Frequently asked questions
What is the hex code of Cornsilk?
Cornsilk has the hex code #FFF8DC, which is RGB 255, 248, 220 and HSL 48°, 100%, 93%.
Which text color reads best on Cornsilk?
Black text: contrast 19.71 : 1 (white text: 1.07 : 1).
Which colors go well with Cornsilk?
Its complementary color is #F5F7FF; analogous colors are #FFF6ED and #F1FDE2; a triadic set adds #EAFBFF and #FFF3FC.
Similar colors
- Beige #F5F5DC
- Light Yellow #FFFFE0
- Light Goldenrod Yellow #FAFAD2
- Old Lace #FDF5E6
- Lemon Chiffon #FFFACD
- Papaya Whip #FFEFD5
- Floral White #FFFAF0
- Ivory #FFFFF0
- Sea Shell #FFF5EE
- Linen #FAF0E6
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)