Cornsilk
#FFF8DCAbout Cornsilk
Cornsilk is the hex color #FFF8DC, which translates to rgb(255, 248, 220) in RGB and hsl(48, 100%, 93%) in HSL. On the color wheel it sits at 48 degrees, with a saturation of 100 percent and a lightness of 93 percent. That puts Cornsilk at the pale end of the neutral range, light enough to work as a page or card background with dark text on top.
How Cornsilk compares
Cornsilk is exactly the CSS keyword cornsilk, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is yellow-50 (#FEFCE8), at a distance of 4.7. Inside this library the closest neighbour is Beige at 3.3. Sorted by lightness, Cornsilk is number 28 of the 37 neutral colors here.
Text on Cornsilk
3 of the five common text colors below clear WCAG AA for normal text on Cornsilk, led by Ink black at 17.96:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Cornsilk already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 1.07:1 | Fail | Fail | Fail |
| Ink black #0F0F12 | 17.96:1 | Pass | Pass | Pass |
| Mid grey #6B7280 | 4.54:1 | Pass | Pass | Fail |
| Dark grey #374151 | 9.68:1 | Pass | Pass | Pass |
| Light grey #E5E7EB | 1.16:1 | Fail | Fail | Fail |
Building a palette around Cornsilk
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Cornsilk for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.
Full values for Cornsilk
| Format | Value |
|---|---|
| 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) |
| CIELAB | lab(97.46 -2.22 14.29) |
Use Cornsilk in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.