Cornsilk
#FFF8DC
Cornsilk is a white tone at #FFF8DC. It sits at 48 degrees on the color wheel with 100% saturation and 93% lightness.
Color values
Tints and shades
Tints mix Cornsilk with white, shades mix it with black. Use the light end for backgrounds and the dark end for text that has to stay readable.
Tint 80%
#FFFEF8
Tint 60%
#FFFCF1
Tint 40%
#FFFBEA
Tint 20%
#FFF9E3
Base
#FFF8DC
Shade 20%
#CCC6B0
Shade 40%
#999584
Shade 60%
#666358
Shade 80%
#33322C
Accessibility
On white
Sample text
1.07:1
Fails WCAG for text
On black
Sample text
19.71:1
Passes AAA for body text
Check a specific pairing in the contrast checker.
Other white colors
Frequently asked
- What is the hex code for Cornsilk?
- The hex code for Cornsilk is #FFF8DC. In RGB that is rgb(255, 248, 220), and in HSL it is hsl(48, 100%, 93%).
- What RGB values make Cornsilk?
- Cornsilk is 255 red, 248 green, and 220 blue, written as rgb(255, 248, 220).
- Is Cornsilk readable as text on a white background?
- Cornsilk scores 1.07:1 against white. WCAG AA needs 4.5:1 for body text, so it fails and should be used for fills or borders rather than type.
- Is Cornsilk a valid CSS color name?
- Yes. You can write color: cornsilk directly in CSS, which every browser resolves to #FFF8DC.