Cornsilk colour (#FFF8DC)

Cornsilk is very light a yellow with hex code #FFF8DC, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 255, 248, 220; in HSL 48°, 100%, 93%. Use the tool to explore shades and harmonies.

✓ Runs in your browser — nothing uploaded Free, no sign-upNo watermark

How to use the Cornsilk colour

  1. The colour is pre-filled; click Explore to see all formats, shades and harmonies.
  2. Edit the value to try a variation.
  3. Copy the code you need.

Cornsilk in every format

FormatValue
HEX#FFF8DC
RGBrgb(255, 248, 220)
RGB (0–1)1.000, 0.973, 0.863
HSLhsl(48, 100%, 93%)
CMYK (approx.)0%, 3%, 14%, 0%
CSScolor: cornsilk;

Shades and tints of Cornsilk

Same hue and saturation, lightness from 90% to 10%:

#fff5cc #ffeb99 #ffe066 #ffd633 #ffcc00 #cca300 #997a00 #665200 #332900

Colours that go with Cornsilk

HarmonyColours
Complementary #dbe2ff
Triadic #dbfff8 #f8dbff
Analogous #f4ffdb #ffe6db

Similar named colours

The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:

ColourHEXDifference
lightyellow #ffffe0very close
beige #f5f5dcvery close
oldlace #fdf5e6very close
lightgoldenrodyellow #fafad2very close
papayawhip #ffefd5very close

Accessibility

Contrast ratio of Cornsilk against white is 1.07:1 (fails WCAG AA for normal text) and against black 19.71:1 (passes). Use black or very dark text on a Cornsilk background rather than white.

Frequently asked questions

What is the hex code for Cornsilk?

#FFF8DC.

What is Cornsilk in RGB?

rgb(255, 248, 220).

What colour is complementary to Cornsilk?

#dbe2ff, directly opposite on the colour wheel.

Privacy

This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.

Last updated 2026-09-23.