Huebook

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.

#FFF8DC
NameHEXRGBHSLCMYKOKLCH
Cornsilk#FFF8DC255, 248, 22048°, 100%, 93%0, 3, 14, 097.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.

Cornsilk
  • HEX#FFF8DC
  • RGBrgb(255 248 220)
  • HSLhsl(48 100% 93%)

Variations of Cornsilk

Text on Cornsilk

White textThe quick brown fox1.07:1 · AA fail · AAA fail
Black textThe quick brown fox19.71:1 · AA pass · AAA pass

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

Normal #FFF8DC
Protanopia #FEF6DA
Deuteranopia #FFF9DD
Tritanopia #FFF4F0

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

#FFF5CC
#FFE580
#FFD633
#E6B800
#997A00
#4D3D00

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.

Nearest CSS named colors

Similar very light yellow colors

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.