CSS named color
Cornsilk #FFF8DC
Cornsilk is light vivid yellow. Below: every color format, WCAG contrast against black and white, its tints, shades and tones, and the harmonies that pair with it.
Color values
Contrast & accessibility
WCAG contrast ratio of Cornsilk used as a foreground on white and black backgrounds.
Aa The quick brown fox
1.07:1
On white
AA ✕ AAA ✕ AA Large ✕
Aa The quick brown fox
19.71:1
On black
AA ✓ AAA ✓ AA Large ✓
Tints, shades & tones
Systematic variations of Cornsilk — click any swatch to copy its hex.
Tintsmixed toward white
Shadesmixed toward black
Tonesmixed toward gray
Color harmonies
Palettes built from Cornsilk by rotating its hue. Each swatch links to its closest named color.
Complementary
Split-complementary
Use Cornsilk in your stack
Tailwind (arbitrary value)
Works for any property: text-[#fff8dc], border-[#fff8dc].
CSS custom property
Reference it anywhere with var(--color).
Build a full theme
Turn Cornsilk into a complete shadcn/ui palette — light & dark, contrast-checked, one-command install.
Extract a theme →