CSS Named Color
Copy-ready color values
HEX
#FFF8DCRGB
rgb(255, 248, 220)HSL
hsl(48, 100%, 93%)HSV
hsv(48, 14%, 100%)CMYK approx.
cmyk(0, 3, 14, 0)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #FFF8DC | |
| RGB | rgb(255, 248, 220) | |
| HSL | hsl(48, 100%, 93%) | |
| HSV | hsv(48, 14%, 100%) | |
| CMYK approx. | cmyk(0, 3, 14, 0) | |
| CSS keyword | cornsilk |
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#3D4358Analogous
#FEF8E0#FFF5DFTriadic
#F8DCFF#DCFFF8Split complementary
#2E344B#00061DUsing 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"