Image Color Lab

CSS named color

#fff8dc — cornsilk

rgb(255, 248, 220)

Color codes

HEX
#fff8dc
RGB
rgb(255, 248, 220)
HSL
hsl(48 100% 93%)
CMYK
cmyk(0% 3% 14% 0%)
OKLCH
oklch(97.7% 0.037 95)

Contrast

1.07:1 on white

Fails WCAG AA

19.71:1 on black

AAA for normal and large text

Tints and shades

Harmonies

About cornsilk

cornsilk is written as #fff8dc in hex, rgb(255, 248, 220) in RGB and hsl(48 100% 93%) in HSL. Its lightness sits at 93%, which is why it reads fails wcag aa against white.

Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.