CSS named color

Cornsilk Color Codes, Shades and Palettes

Cornsilk is #FFF8DC. Copy its exact codes, compare twenty computed channel steps, and build complementary, analogous, or triadic palettes.

#FFF8DCRGB 255, 248, 220HSL 48°, 100%, 93%

Cornsilk color codes

Every format below is calculated from #FFF8DC; use the buttons to copy a code exactly.

HEX#FFF8DC
RGBrgb(255, 248, 220)
HSLhsl(48°, 100%, 93%)
CMYKcmyk(0%, 3%, 14%, 0%)

10 shades and 10 tints of Cornsilk

These twenty steps use the original Color Lab’s channel-multiplication rule: each RGB channel is multiplied, rounded, and clamped between 0 and 255.

Darker channel steps

#1A1916
#33322C
#4D4A42
#666358
#807C6E
#999584
#B3AE9A
#CCC6B0
#E6DFC6
#FFF8DC

Lighter channel steps

#FFFFF2
#FFFFFF
#FFFFFF
#FFFFFF
#FFFFFF
#FFFFFF
#FFFFFF
#FFFFFF
#FFFFFF
#FFFFFF

Computed harmonies and palette ideas

Companion hues use the original wheel’s exact offsets at 80% saturation and 50% lightness, so the relationship stays measurable and repeatable.

Complementary

#E6BD19#1942E6

Analogous

#E6BD19#A8E619#E65719

Triadic

#E6BD19#19E6BD#BD19E6

How Cornsilk is calculated

Cornsilk is stored as the CSS named-color keyword “cornsilk” with the six-digit value #FFF8DC. Splitting that value into red, green, and blue byte pairs produces RGB 255, 248, 220. The same channels convert to HSL 48°, 100%, 93% with the picker’s max-and-min formula, and to CMYK 0%, 3%, 14%, 0% after normalizing each channel to the zero-to-one range. All displayed HSL and CMYK components are rounded to whole numbers.

The shade series is not an invented set of labels. It multiplies the original RGB channels by factors from 0.1 through 1.0. That calculation runs from #1A1916 at factor 0.1 to #FFF8DC at factor 1.0. The tint series continues the same Color Lab rule from factor 1.1 through 2.0, with clamping whenever a channel reaches 255; its last result is #FFFFFF. Clicking any square copies its precomputed code.

For wheel relationships, the base hue is 48 degrees. The complementary hue is 228 degrees, while the analogous companions sit 30 degrees on either side. Triadic companions are offset by 120 and 240 degrees. Like the working Color Lab wheel, those hue samples render at fixed 80% saturation and 50% lightness rather than changing Cornsilk’s own saturation or lightness.

In the full 298-name catalog, the closest distinct RGB neighbors include Light Yellow (#FFFFE0), Beige (#F5F5DC), Old Lace (#FDF5E6), Light Goldenrod Yellow (#FAFAD2). Distance is straight-line Euclidean distance between the three sRGB channel values, with equal-hex aliases excluded. Against #FFF8DC, black text measures 19.71:1 and white text measures 1.07:1, so black gives the stronger of those two contrast results. Check the ratio required by your specific text size before publishing.

Try Cornsilk in the Color Picker

Pick any color and instantly get HEX, RGB, HSL, and CMYK codes.

Enter a hash followed by exactly six hexadecimal digits.
HEX
RGB
HSL
CMYK
Color Shades & Tints

Frequently asked questions

What is the HEX code for Cornsilk?

Cornsilk is recorded here as #FFF8DC. Its RGB channels are 255, 248, 220.

What are the HSL and CMYK values for Cornsilk?

Using the Color Lab conversion math, Cornsilk converts to HSL 48°, 100%, 93% and CMYK 0%, 3%, 14%, 0%. Values are rounded to whole units.

Should Cornsilk use black or white text?

Black has a 19.71:1 contrast ratio and white has a 1.07:1 ratio against Cornsilk. The higher computed ratio is black.