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.
Cornsilk color codes
| HEX | #FFF8DC | |
|---|---|---|
| RGB | rgb(255, 248, 220) | |
| HSL | hsl(48, 100%, 93%) | |
| HSV | 48°, 14%, 100% | |
| CMYK | 0%, 3%, 14%, 0% | |
| OKLCH | oklch(97.7% 0.037 95.4) | |
| Tailwind | bg-[#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.
Colors that go with Cornsilk
Complementary
Analogous
Triadic
Split complementary
Cornsilk contrast
- AA text fail
- AAA text fail
- AA large fail
- 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
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.
