Skip to main content
WebColorTools

Cornsilk — #FFF8DC

#FFF8DC, primarily known as Cornsilk, is composed of 100% red, 97% green, and 86% blue in RGB. In CMYK it is 0% cyan, 3% magenta, 14% yellow, 0% black. In HSL the hue angle is 48°, saturation 100%, and lightness 93%. The closest web-safe color is #FFFFCC.

Format Value Copy
HEX #FFF8DC
RGB rgb(255, 248, 220)
HSL hsl(48, 100%, 93.1%)
HSV hsv(48, 13.7%, 100%)
CMYK cmyk(0%, 2.7%, 13.7%, 0%)
OKLCH oklch(97.73% 0.0373 95.44)
HWB hwb(48 86.3% 0%)
LAB lab(97.6% -0.96 14.39)
LCH lch(97.6% 14.4 93.8)
OKLAB oklab(97.73% -0.0035 0.0371)
XYZ X 87.72 Y 93.56 Z 81.13
Web Safe #FFFFCC
RGB Percent 100%, 97.3%, 86.3%
Decimal 16775388

Color harmonies

Harmony swatches keep the same saturation and lightness as the base color.

Explore on Color Wheel →

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Alternative colors

Nearby variations by nudging hue and lightness. Click a swatch to open that color.

Similar named colors

Nearest matches from our 30,000-name dataset (CIELAB ΔE). Click a swatch to open that color.

Tints, shades & tones

Full Tints, Shades & Tones →

On white

Sample

1.07:1

AA normal ✗ · AA large ✗

On black

Sample

19.71:1

AA normal ✓ · AA large ✓

Protanopia

99% similar

1.3% of men, 0.02% of women

Deuteranopia

100% similar

6% of men, 0.4% of women

Tritanopia

95% similar

0.001% of population

Achromatopsia

93% similar

0.003% of population

UI preview

Simplified components using a Tailwind-style scale generated from this color.

Open in Tailwind Scale Generator →

Button

Alert

Heads up

This alert uses lighter tints for the background and a mid-tone for the border.

Progress

67% complete