Cornsilk
#FFF8DCrgb(255, 248, 220)hsl(48, 100%, 93%)
Cornsilk is #FFF8DC, rgb(255, 248, 220).
In CSS: cornsilk
Colors that go with Cornsilk
Complementary
Analogous
Triadic
1 of 2 backgrounds pass AA
- On whiteFail1.07 : 1
- On ink blackPass17.96 : 1
About 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, or open the palette generator with Cornsilk locked and let it fill in the rest.
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) |
Frequently asked questions
What is the RGB value of Cornsilk?
Cornsilk (#FFF8DC) is rgb(255, 248, 220): 255 red, 248 green and 220 blue on the 0 to 255 scale. Red leads at 255, green follows at 248 and blue trails at 220, which puts the hue at 48 degrees. In HSL the same color is hsl(48, 100%, 93%).
What colour is #FFF8DC?
#FFF8DC is Cornsilk, a very light neutral colour with 100% saturation and 93% lightness. For print the CMYK breakdown is 0% cyan, 3% magenta, 14% yellow and 0% black. Its nearest neighbour in this library is Beige, 3.3 away in CIELAB, a difference you can see.
Is Cornsilk a CSS color name?
Yes. The keyword cornsilk is one of the 148 named colors in CSS Color Module Level 4, so color: cornsilk; renders exactly #FFF8DC.
What colors go with Cornsilk?
Opposite Cornsilk on the color wheel sits the complementary #DCE3FF (close to Lavender), the boldest accent by hue. For a calmer scheme use the analogous neighbours #FFE7DC and #F5FFDC; for a balanced three-color scheme use the triadic pair #DCFFF8 and #F8DCFF. Of these, #DCE3FF has the most contrast against Cornsilk, at 1.20:1, so pair it by hue, not for legibility.
What text color is readable on Cornsilk?
Ink black (#0F0F12) is the most readable on Cornsilk, at 17.96:1, which also clears WCAG AAA (7:1). 3 of the 5 common text colors tested pass AA for normal text.
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.