Cornsilk Color

Cornsilk is a very light yellow with hex code #FFF8DC. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.

#FFF8DCRGB 255 248 220
Cornsilk#FFF8DC

Cornsilk color codes

HEX#FFF8DC
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93%)
HSV48°, 14%, 100%
CMYK0%, 3%, 14%, 0%
OKLCHoklch(97.7% 0.037 95.4)
Tailwindbg-[#fff8dc]

Closest Tailwind colour: yellow-50 (#FEFCE8). Convert any colour in the Color Converter.

About Cornsilk

Cornsilk (#FFF8DC) is a very light yellow. In the RGB model it is 100% red, 97% green and 86% blue; its hue angle is 48°, with 100% saturation and 93% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 14% yellow and 0% black.

It is a warm colour and appears in our shades of yellow and shades of white. Text on it reads best in black (19.7:1 contrast).

Cornsilk tints and shades

Tints mix cornsilk with white; shades mix it with black. Click to copy.

10%
20%
30%
40%
50%
60%
70%
80%
90%
Base
-10%
-20%
-30%
-40%
-50%
-60%
-70%
-80%
-90%

Colors that go with Cornsilk

Complementary

Cornsilk

Analogous

Cornsilk

Triadic

Cornsilk

Split complementary

Cornsilk

Cornsilk contrast

White text1.07:1
  • AA text fail
  • AAA text fail
  • AA large fail
Black text19.71:1
  • AA text pass
  • AAA text pass
  • AA large pass

Using Cornsilk in CSS

.brand {
  color: #fff8dc;
}
.button {
  background: #fff8dc;
  color: #111;
}
.hero {
  background: linear-gradient(135deg, #fffae8, #fff8dc, #a6a18f);
}

Similar colors

Gradients with Cornsilk

Very closeUi

Peach UI

More gradients near #FFF8DC →

Cornsilk FAQ

What color is Cornsilk?

Cornsilk is a very light yellow. Its hex code is #FFF8DC and it is a warm colour.

What is the hex code for Cornsilk?

The hex code for Cornsilk is #FFF8DC. In RGB that is rgb(255, 248, 220), and in HSL hsl(48, 100%, 93%).

What is Cornsilk in CMYK?

Cornsilk is roughly C 0%, M 3%, Y 14%, K 0% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.

What colors go well with Cornsilk?

Its complementary colour is #DBE2FF. For a calmer palette use its analogous colours #FFE6DB and #F4FFDB, or tints and shades of Cornsilk itself.

Is white or black text better on Cornsilk?

Black text reads better on Cornsilk: 19.7:1 contrast, against 1.1:1 for white. WCAG asks for 4.5:1 for body text.

Browse colors