Cornsilk Color
YellowsA very pale yellow named after the pale, silky threads on an ear of corn.
Conversions
#fff8dc
rgb(255, 248, 220)
hsl(48, 100%, 93.1%)
hsv(48, 13.7%, 100%)
cmyk(0%, 2.7%, 13.7%, 0%)
lab(97.46, -2.22, 14.29)
lch(97.46, 14.46, 98.83)
oklch(97.7%, 0.0373, 95.39)
hwb(48, 86.3%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (19.71:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#fcfce3 · ΔE 3
Deuteranopia
#fcfde5 · ΔE 3.5
Tritanopia
#ffe9ea · ΔE 16.8
Achromatopsia
#f8f8f8 · ΔE 11
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #fff8dc;
bg-[#fff8dc]
Related colors
Frequently asked questions
Cornsilk (#fff8dc) is rgb(255, 248, 220) in RGB.
No, #fff8dc is not web-safe. The nearest web-safe colors are among its tones and shades below.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #fff8dc, or check how it holds up for accessibility.