Cornsilk
Cornsilk is a near-white, saturated amber color with the hex code #FFF8DC (hue 48°, saturation 100%, lightness 93%). It is also the CSS named color cornsilk.
- HEX
#FFF8DC - RGB
rgb(255 248 220) - HSL
hsl(48 100% 93%) - OKLCH
oklch(97.7% 0.037 95)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Cornsilk | #FFF8DC | 255, 248, 220 | 48°, 100%, 93% | 0, 3, 14, 0 | 97.7% 0.037 95 |
Contrast with white text 1.07:1, with black text 19.71:1 — use black text on Cornsilk.
cornsilk is one of the 148 named colors in CSS, with exactly this value, so color: cornsilk works in any browser without a hex code.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Cornsilk
Move the sliders to make Cornsilk lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#FFF8DC - RGB
rgb(255 248 220) - HSL
hsl(48 100% 93%)
Variations of Cornsilk
Text on Cornsilk
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Cornsilk with color blindness
How Cornsilk appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Cornsilk
Six color schemes built on Cornsilk with classic harmony rules. The complementary scheme pairs it with Cloudless (#D6EAFC), the color opposite it on the color wheel.
- Cornsilk Complementary Color Scheme#FFF8DC#FFFAE5#D6EAFC#99AAFF#E8EEFE
- Cornsilk Analogous Color Scheme#FFDBE5#FEE6DC#FFF8DC#EEFFDD#E0FFDF
- Cornsilk Triadic Color Scheme#FFF8DC#D6FFFA#FFDDFF#FFFAE5#88FFEE
- Cornsilk Split-complementary Color Scheme#FFF8DC#DEF7FE#EEDDFF#FFE690#E8F7FD
- Cornsilk Tetradic Color Scheme#FFF8DC#DDFFEE#D6EAFC#FFDDF4#FFFAE5
- Cornsilk Monochromatic Color Scheme#FFDC41#FFE690#FFF8DC#FFFAE5#FFFAE5
Nearest CSS named colors
- Beige (CSS) (
beige): Beige (CSS) (#F5F5DC) is about as light as Cornsilk (relative luminance 0.899 vs 0.936) and less saturated, with its hue 12° away. - Light Yellow (CSS) (
lightyellow): Light Yellow (CSS) (#FFFFE0) is about as light as Cornsilk (relative luminance 0.982 vs 0.936) and equally saturated, with its hue 12° away. - Light Goldenrod Yellow (
lightgoldenrodyellow): Light Goldenrod Yellow (#FAFAD2) is about as light as Cornsilk (relative luminance 0.933 vs 0.936) and less saturated, with its hue 12° away. - Old Lace (
oldlace): Old Lace (#FDF5E6) is about as light as Cornsilk (relative luminance 0.919 vs 0.936) and less saturated, with its hue 9° away.
Similar very light yellow colors
- Au Clair de la Lune#F4F2E2
- Banan-Appeal#FAF3A6
- Banana Cream#FFF49C
- Banana Milk#FFF7AD
- Banana Split#F7EEC8
- Blanc Cassé#F1EEE2
- Blanco#EBEAE5
- Bleached Sunflower#FBE8A8
- Blond#FAF0BE
- Bollywood Gold#FFFBAB
- Bullet Hell#FAF1C8
- Butter Honey#F5E5AB
- Buttered#ECE2B7
- Buttered Popcorn#FFF0A4
- Buttered Up#F7F0D2
- Buttermelon#FFF7DB
- Buttermilk#FFFEE4
- Calcium Rock#EEE9D9
Questions
What is the hex code for Cornsilk?
#FFF8DC — RGB 255, 248, 220, HSL 48°, 100%, 93%.
Is Cornsilk a warm or cool color?
Warm — its hue sits at 48° on the color wheel.