Cornsilk color — #FFF8DC
Cornsilk is a CSS named color with the HEX code #FFF8DC, RGB value rgb(255, 248, 220) and HSL value hsl(48, 100%, 93%).
Yellow
Cornsilk
#FFF8DC
Color codes
- HEX
- #FFF8DC
- RGB
- rgb(255, 248, 220)
- HSL
- hsl(48, 100%, 93%)
- HSV
- hsv(48, 14%, 100%)
- CMYK
- cmyk(0%, 3%, 14%, 0%)
- OKLCH
- oklch(97.73% 0.0373 95.44)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: cornsilk;
background-color: #fff8dc;
border-color: rgb(255, 248, 220);
outline-color: hsl(48, 100%, 93%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Cornsilk — On white1.06:1 · Fail
Cornsilk — On black19.71:1 · AAA