Cornsilk Color — #FFF8DC: Codes, Palettes & Contrast

Cornsilk (#FFF8DC) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.

Cornsilk is a named yellow color, ready to use anywhere you need it.

Cornsilk#FFF8DC

Cornsilk color codes

HEX#FFF8DC
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93%)
OKLCHoklch(0.977 0.037 95.4)

Browse more yellow colors.

Readable text on Cornsilk

Black text (#000000) has the higher contrast against this background: 19.71:1.

Text colorRatioNormal text AANormal text AAA
Black19.71:1PassPass
White1.07:1FailFail

Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.

Related named colors

Build a palette · Generate a color scale