Colors

#FFF8DC

Cornsilk

Cornsilk is #FFF8DC. In CSS you can write it as the keyword cornsilk. The values below are the same sRGB color in HEX, RGB, HSL, HSV, a simple CMYK conversion, and OKLCH. CMYK here is a channel formula for reference, not a press proof.

Conversions

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

Tints and shades

Tints mix this color toward white. Shades mix it toward black in sRGB. For a 50–950 ramp, open the tint and shade generator.

Tints

#FFF9E3

20% white

#FFFBEA

40% white

#FFFCF1

60% white

#FFFEF8

80% white

Shades

#CCC6B0

20% black

#999584

40% black

#666358

60% black

#33322C

80% black

Harmony palettes

These schemes rotate hue from Cornsilk. Read the relationships in color theory 101 or adjust them on the color wheel.

#FFF8DB

#DBE2FF

#FFFFFF

#FFFFFF

#E3D8AB

#FFE6DB

#FFF8DB

#F4FFDB

#E2FFDB

#FCDEE4

#FFF8DB

#DBFFF8

#F8DBFF

#FFFFFF

#E6B5F2

Split Complementary

Open in palette generator

#FFF8DB

#DBF4FF

#E6DBFF

#FFFFFF

#ABB6E3

#665200

#B38F00

#FFCC00

#FFDB4D

#FFEB99

#FFF8DB

#DBFFE6

#DBE2FF

#FFDBF4

#FFFFFF

Contrast against white and black

Ratios use the WCAG relative-luminance formula. AA normal text needs 4.5:1 and large text needs 3:1 under Success Criterion 1.4.3. AAA uses 7:1 and 4.5:1. A pass here is only this pair, not a full page audit. Check other pairings in the contrast checker.

On white · 1.07:1
AA normal text Fail
AA large text Fail
AAA normal text Fail
AAA large text Fail
On black · 19.71:1
AA normal text Pass
AA large text Pass
AAA normal text Pass
AAA large text Pass

Similar named colors

Nearest CSS named colors by RGB distance. Distance is not a perceptual match.

Use this color