#FFF8DC

#FFF8DC is the hex color Cornsilk. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #FFF8DC; the exact match is Cornsilk.

Open #FFF8DC in the picker

#FFF8DC color codes

HEX
#FFF8DC
HEX8
#FFF8DCFF
HEX8 (Android)
#FFFFF8DC
RGB
rgb(255, 248, 220)
RGB (%)
100%, 97%, 86%
HSL
hsl(48, 100%, 93%)
HSV / HSB
hsv(48, 14%, 100%)
CMYK
cmyk(0%, 3%, 14%, 0%)
OKLCH
oklch(0.9773 0.0373 95.44)
OKLCH (%)
oklch(97.73% 0.0373 95.44)
Decimal
16775388

What color is #FFF8DC?

#FFF8DC sits at 98% lightness and 0.0373 chroma in OKLCH, hue 95.44°. Its nearest named color is Cornsilk (an exact match).

Shades and tints of #FFF8DC

Tints

Shades

Tones

#FFF8DC color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #FFF8DC in CSS

.text       { color: #FFF8DC; }
.background { background-color: #FFF8DC; }
.border     { border: 2px solid #FFF8DC; }

/* Modern, perceptually uniform */
.text { color: oklch(0.9773 0.0373 95.44); }

/* #FFF8DC at 50% transparency */
.overlay { background-color: #FFF8DC80; }

Is #FFF8DC accessible?

#FFF8DC on white text scores 1.07:1; on black text it scores 19.71:1. Black text passes WCAG AAA on #FFF8DC. Recommended text color on a #FFF8DC background: black.

A 19.71:1 vs black
A 1.07:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: black

CSS contrast-color() contrast-color(#FFF8DC) → black
APCA Lc experimental 101.6 Lc · body text — preferred (black text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Gold #FFD700. See more in the yellow family on the colors hub.

Frequently asked questions

What color is #FFF8DC?
#FFF8DC is Cornsilk. In RGB it is rgb(255, 248, 220), and in HSL hsl(48, 100%, 93%).
What is #FFF8DC in RGB?
#FFF8DC converts to rgb(255, 248, 220) — red 255, green 248, blue 220.
What text color is readable on #FFF8DC?
Black text — it has the higher contrast ratio (19.71:1) against #FFF8DC. Black text passes WCAG AAA on #FFF8DC.
Open #FFF8DC in the picker