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
#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 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.
On white1.07:1
Fails WCAG for textOn black19.71:1
Passes AAA for body textCheck a specific pairing in the contrast checker.
4 questions people ask about 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%).
Cornsilk is 255 red, 248 green, and 220 blue, written as rgb(255, 248, 220).
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.
Yes. You can write color: cornsilk directly in CSS, which every browser resolves to #FFF8DC.