Cornsilk #FFF8DC
Cornsilk is one of the named colours in CSS, written cornsilk. Black text reaches 19.71:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | cornsilk |
|---|---|
| HEX | #FFF8DC |
| RGB | rgb(255 248 220) |
| HSL | hsl(48 100% 93%) |
| OKLCH | oklch(97.7% 0.037 95.4) |
| White text | 1.07:1 · body text AA Fail |
| Black text | 19.71:1 · body text AA Pass |
Colours that go with Cornsilk
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Sulpher Yellow (#F5ECC2), close. These are the colours Wada paired it with, ranked by their contrast with Cornsilk itself.
| Colour | HEX | Contrast with Cornsilk | Body text AA |
|---|---|---|---|
| Black | #111314 | 17.49:1 | Pass |
| Deep Slate Olive | #253122 | 12.79:1 | Pass |
| Slate Color | #34454C | 9.38:1 | Pass |
| Vandar Poel's Blue | #064F6E | 8.38:1 | Pass |
| Pale Raw Umber | #71502F | 6.82:1 | Pass |
| Carmine Red | #A62C37 | 6.49:1 | Pass |
| Brick Red | #A84222 | 5.69:1 | Pass |
| Antwarp Blue | #007190 | 5.24:1 | Pass |
| Cossack Green | #437742 | 4.98:1 | Pass |
| Olive Green | #6B7140 | 4.85:1 | Pass |
| Olive | #837E31 | 3.95:1 | Fail |
| Eupatorium Purple | #BF5892 | 3.92:1 | Fail |
| Eugenia Red | B | #DA525D | 3.69:1 | Fail |
| Light Mauve | #9A72AA | 3.68:1 | Fail |
| Green Blue | #099197 | 3.58:1 | Fail |
| Oil Green | #819238 | 3.23:1 | Fail |
| Peach Red | #F15A30 | 3.16:1 | Fail |
| Light Brown Drab | #B59392 | 2.61:1 | Fail |
| Citrine | #B09F36 | 2.51:1 | Fail |
| Grenadine Pink | #F48067 | 2.42:1 | Fail |
| Laelia Pink | #CA92A8 | 2.41:1 | Fail |
| Salvia Blue | #97ACC8 | 2.18:1 | Fail |
| Coral Red | #F58E84 | 2.17:1 | Fail |
| Ochraceous Salmon | #D8A37B | 2.09:1 | Fail |
| Yellow Orange | #F99D1B | 2.00:1 | Fail |
| Night Green | #87C540 | 1.95:1 | Fail |
| Golden Yellow | #F3A257 | 1.95:1 | Fail |
| Pinkish Cinnamon | #EEB480 | 1.72:1 | Fail |
| Light Glaucous Blue | #A5C8D1 | 1.67:1 | Fail |
| Corinthian Pink | #F8B6BA | 1.59:1 | Fail |
| Yellow Green | #AFD472 | 1.58:1 | Fail |
| Cream Yellow | #FDBF68 | 1.54:1 | Fail |
| Pale King's Blue | #A7D4E4 | 1.50:1 | Fail |
| Cinnamon Buff | #FDC57E | 1.46:1 | Fail |
Palettes with Sulpher Yellow
- Combination #52 Sulpher Yellow · Black
- Combination #72 Sulpher Yellow · Pale King's Blue
- Combination #80 Sulpher Yellow · Light Mauve
- Combination #104 Carmine Red · Sulpher Yellow
- Combination #132 Sulpher Yellow · Golden Yellow · Citrine
- Combination #135 Sulpher Yellow · Cossack Green · Salvia Blue
- Combination #151 Sulpher Yellow · Yellow Orange · Vandar Poel's Blue
- Combination #208 Sulpher Yellow · Green Blue · Antwarp Blue
- Combination #246 Corinthian Pink · Brick Red · Sulpher Yellow · Cinnamon Buff
- Combination #254 Corinthian Pink · Sulpher Yellow · Olive · Laelia Pink
- Combination #270 Eugenia Red | B · Sulpher Yellow · Olive Green · Cossack Green
- Combination #294 Sulpher Yellow · Cream Yellow · Cossack Green · Salvia Blue
Shades and tints of Cornsilk
Nine lightness steps in OKLCH that keep the hue of Cornsilk. Chroma is reduced only where sRGB cannot show it.
- 100#FDF6DA
- 200#ECE5C9
- 300#D5CEB3
- 400#B8B197
- 500#999279
- 600#787259
- 700#5B553E
- 800#403B24
- 900#27210B
:root {
--cornsilk-100: #FDF6DA;
--cornsilk-200: #ECE5C9;
--cornsilk-300: #D5CEB3;
--cornsilk-400: #B8B197;
--cornsilk-500: #999279;
--cornsilk-600: #787259;
--cornsilk-700: #5B553E;
--cornsilk-800: #403B24;
--cornsilk-900: #27210B;
}
Text that keeps Cornsilk on screen
Text #27210B on #FFF8DC reaches 15.06:1, which passes WCAG AA for body text. Check it on a dashboard