#FFF8DC

Cornsilk — Color Codes & Palette

#FFF8DC  ·  rgb(255, 248, 220)  ·  hsl(48, 100%, 93%)

Color Codes

Format Value
HEX #FFF8DC
RGB rgb(255, 248, 220)
HSL hsl(48, 100%, 93%)

Shades of Cornsilk

#FFEEA8#FFE375#FFD942#FFCF0F#DBAF00#A88700#755E00#423500

Tints of Cornsilk

#FFF8DB#FFF8DB#FFF8DB#FFF8DB#FFF8DB#FFF8DB#FFF8DB#FFF8DB

Color Pairings & Harmony

Complementary
#DBE2FF
Analogous +30°
#F4FFDB
Analogous −30°
#FFE6DB
Triadic +120°
#DBFFF8
Triadic −120°
#F8DBFF

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
1.07:1 — Fail
vs. Black (#000000)
19.71:1 — AAA pass for normal text

CSS Snippet

.element {
  color: #FFF8DC;
}

.element-bg {
  background-color: #FFF8DC;
  color: #000000;
}

.element-border {
  border: 2px solid #FFF8DC;
}

About Cornsilk

Cornsilk is a very light color with vivid, highly saturated, defined by the hex code #FFF8DC. Its exact color model values are rgb(255, 248, 220) in RGB and hsl(48, 100%, 93%) in HSL (hue 48°, saturation 100%, lightness 93%). On a white background the contrast ratio is 1.07:1 — Fail, and on black it is 19.71:1 — AAA pass for normal text. Use Cornsilk for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of Cornsilk?
The RGB value of Cornsilk (#FFF8DC) is rgb(255, 248, 220). Red = rgb(255, 248, 220), representing the amounts of red, green, and blue light on a 0–255 scale.
Is Cornsilk accessible on a white background?
The contrast ratio of Cornsilk on white (#FFFFFF) is 1.07:1 — Fail. On black (#000000) the contrast ratio is 19.71:1 — AAA pass for normal text. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with Cornsilk?
Based on color theory, Cornsilk (hsl(48, 100%, 93%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.