HueWiz / Colors / Cornsilk
#FFF8DC

Cornsilk

Cornsilk is a vivid, fully saturated, very light warm yellow (#FFF8DC).

Build palettes with Cornsilk →

Using Cornsilk in your designs

Cornsilk is a very light, vivid, fully saturated take on yellow. Colors in this range are commonly associated with optimism, caution and visibility, which makes cornsilk a natural fit for highlights, warning states and youthful, energetic branding.

Cornsilk is light enough that it pairs better with dark text than white: black type on cornsilk hits 19.71:1 — comfortably past the WCAG AA threshold — while white manages only 1.07:1. It shines as a section background, card fill or subtle highlight where a full-strength accent would shout.

For pairings, the complement of cornsilk sits at 228° — #DBE2FF, close to lavender — and delivers the strongest possible hue contrast; use it sparingly, in roughly a 90/10 split, so the two don't fight. For calmer schemes, the analogous colors 30° to either side keep the same warm temperature, while the triadic pair gives you a balanced three-color palette. All of these are computed for cornsilk in the palettes below, with copy-ready codes.

Cornsilk color palettes

Every palette below is computed from cornsilk's position on the color wheel (hue 48°). Hover any swatch to see its code; click to copy.

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Monochromatic

Tints and shades of Cornsilk

Tints mix cornsilk toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.

Shades → base → tints

Contrast & accessibility

WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how cornsilk performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).

PairingRatioNormal textLarge text
White text on Cornsilk1.07:1FailFail
Black text on Cornsilk19.71:1AAAAAA
Protanopia#FCFCE3
Deuteranopia#FCFDE4
Tritanopia#FFE8E9

Cornsilk in code

Copy-ready snippets. In CSS you can also use the keyword cornsilk directly.

:root {
  --cornsilk: #FFF8DC;
  --cornsilk-rgb: 255, 248, 220;
  --cornsilk-tint: #FFFBEC;
  --cornsilk-shade: #8C8879;
}

.btn-cornsilk {
  background: var(--cornsilk);
  color: #000000;
}
// tailwind.config.js
colors: {
  'cornsilk': {
    DEFAULT: '#FFF8DC',
    light: '#FFFBEC',
    dark: '#8C8879',
  },
}

Colors similar to Cornsilk

The closest CSS named colors by perceptual (Lab) distance.

← PreviouscornflowerblueNext →crimson
Copied