Cornsilk

#fef2cd

Hex, rgb, cmyk and Pantone values for cornsilk, with shades, tints, matching colors and free print quality patterns.

Cornsilk falls in the yellow band, pale and vivid. Yellows like this read optimistic and energetic. Charcoal and navy give it the contrast it needs and purple across the wheel makes it pop.

Cornsilk color values

Every conversion for #fef2cd, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#fef2cd
RGB254, 242, 205
HSL45, 96%, 90%
HSV45, 19%, 100%
CMYK0%, 5%, 19%, 0%
Lab95.57, -1.77, 19.32
XYZ83.64, 88.98, 70.52
Decimal16708301
Web safe#ffffcc
Pantone607 C
Pantone607 CHex#fef2cdRgb254 242 205Cmyk0 5 19 0Lab96 -2 19Darker#fbce41Deep#fde087Lighter#fdf6e2

Shades of cornsilk

Tints of cornsilk

Colors that go with cornsilk

Cornsilk in print

It is pale enough that on uncoated stock it can read even lighter than on screen. The cmyk build is 0, 5, 19, 0.

The same color needs a different cmyk build depending on the paper. Here is #fef2cd on both.

Coated stockgloss or silk, C
0 5 19 0
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
4 9 21 6
The stock absorbs ink and gains dot, so it needs a heavier build and reads a touch softer.

This color is saturated enough to sit near the edge of cmyk gamut, so expect a small drop in punch on paper and proof it before a long run.

See how it converts in the rgb to cmyk converter, or read rgb vs cmyk for print and what the k in cmyk means.

Cornsilk in css

Copy #fef2cd straight into your stylesheet.

.background { background-color: #fef2cd; }
.text { color: #fef2cd; }
.border { border: 2px solid #fef2cd; }

How cornsilk looks on light and dark

Cornsilk and accessibility

Contrast ratios for #fef2cd against black and white text, measured to the WCAG standard.

Textwhite text on this color
1.12:1
AA fail · AA large fail · AAA fail
Textblack text on this color
18.80:1
AA pass · AA large pass · AAA pass

Use black text on this color for readable body copy. To test #fef2cd against any other color, not just black and white, run the pair through our contrast checker for a live WCAG reading.

Cornsilk on a business card, sticker and pattern

A quick look at how #fef2cd sits on real print products. Start any of these in the maker.

Your nameFounderhello@brand.comBusiness card
Sticker
Repeat pattern

Building a full palette around cornsilk? Pull matching colors from any photo with the color palette generator, or check a design for print with the rgb to cmyk converter.

Turn cornsilk into a seamless pattern

Four patterns built from #fef2cd and its shades, free at print quality. Click any one to keep editing in the pattern maker.

Make posters, wallpaper and packaging art from cornsilk, free and print ready.

Open in pattern maker

How we calculate these values

The figures for #fef2cd come from standard color math, shown so you can check them. The rgb, hsl, hsv, cie-lab and xyz values follow the standard conversions from the sRGB color space. Two cmyk builds are shown because coated and uncoated papers behave differently, uncoated soaks up ink and needs more of it to hit the same target. For Pantone we return the nearest reference by perceptual distance, which gets you close but is not a substitute for a physical swatch book.