gettoolz.app

Cornsilk color: #fff8dc

The CSS keyword cornsilk is #fff8dc, rgb(255, 248, 220) or hsl(48, 100%, 93%). Its codes to copy, 50–950 tint scale, harmonies and contrast on white and black.

Part of design tools.

CSS keywordcornsilk
HEX#fff8dc
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93%)
OKLCHoklch(97.7% 0.0373 95.44)

About Cornsilk

Cornsilk is a grayish very light yellow. Its hue sits at 95° in OKLCH and 48° in HSL — the two wheels are spaced differently, which is why the numbers disagree.

The keyword cornsilk comes from the X Window System color list, which SVG 1.0 adopted and CSS Color Level 3 brought to every stylesheet.

Cornsilk tint scale, 50 to 950

50#f7f5ed
100#eeebe0
200#dcd8c7
300#c3bea8
400#a8a289
500#8d866d
600#726c54
700#58533d
800#3f3b28
900#2a2617
950#1c180b

Eleven steps at fixed perceived lightness, in OKLCH, holding cornsilk’s own hue from end to end. The keyword itself falls closest to step 50 (#f7f5ed), the one outlined; step 500 is #8d866d.

Harmonies built on Cornsilk

Hue angles measured in OKLCH, so every accent keeps cornsilk’s perceived lightness. Its complement is #f5f7ff, closest to the named color ghostwhite.

Complementary

#fff8dc
#f5f7ff

Analogous

#fff8dc
#f1fde2
#fff6ed

Triadic

#fff8dc
#ebfbff
#fff4fc

Split-complementary

#fff8dc
#f1f9ff
#faf5ff

Cornsilk on white and on black

cornsilk on white1.06:1 · Fail
cornsilk on black19.71:1 · AAA

Black text reads better on cornsilk (19.71:1). As a text color it belongs on a dark background: on white it only reaches 1.06:1, under the 4.5:1 that body text needs, while on black it reaches 19.71:1. AA asks 4.5:1 for body text and 3:1 for large text; AAA asks 7:1.

Named colors close to Cornsilk

Open cornsilk in the full tools

Or browse every named color from the color converter.