NEUTRAL

Cornsilk

#FFF8DC
Conversions
HEX#FFF8DC
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93%)
HSVhsv(48, 14%, 100%)
CMYKcmyk(0%, 3%, 14%, 0%)
Copy CSS
color: #fff8dc; /* rgb */ color: rgb(255, 248, 220); /* hsl */ color: hsl(48, 100%, 93%);
Contrast
On whiteFail · 1.07 : 1
On ink blackPass · 17.96 : 1
Shades
Tints
Pairings

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.

Contrast of common text colors on Cornsilk. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF1.07:1FailFailFail
Ink black #0F0F1217.96:1PassPassPass
Mid grey #6B72804.54:1PassPassFail
Dark grey #3741519.68:1PassPassPass
Light grey #E5E7EB1.16:1FailFailFail

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

FormatValue
HEX#FFF8DC
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93%)
HSVhsv(48, 14%, 100%)
CMYKcmyk(0%, 3%, 14%, 0%)
OKLCHoklch(97.73% 0.0373 95.44)
CIELABlab(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.