CSS Named Color

Copy-ready color values

HEX#FFF8DC
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93%)
HSVhsv(48, 14%, 100%)
CMYK approx.cmyk(0, 3, 14, 0)

Color value table

FormatValueCopy
HEX#FFF8DC
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93%)
HSVhsv(48, 14%, 100%)
CMYK approx.cmyk(0, 3, 14, 0)
CSS keywordcornsilk

Contrast and classification

LightLightness1.07:1Contrast with white19.71:1Contrast with blackRed / OrangeColor family

Shade and tint preview

White 10%
#FFF9E0

White 30%
#FFFAE7

White 70%
#FFFDF5

White 90%
#FFFEFC

Black 10%
#E6DFC6

Black 30%
#B3AE9A

Black 70%
#4D4A42

Black 90%
#1A1916

Harmony palettes

Complementary

#000723
#3D4358

Analogous

#FEF8E0
#FFF5DF

Triadic

#F8DCFF
#DCFFF8

Split complementary

#2E344B
#00061D

Using Cornsilk

Cornsilk works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-cornsilk: #fff8dc;
}

.button-primary {
  background: var(--color-cornsilk);
  color: #000000;
}

$cornsilk: #fff8dc;

// Tailwind arbitrary value
class="bg-[#fff8dc] text-white"