#FFF8DC color

#FFF8DC rgb(255, 248, 220)
Shades of beige

The hex color #FFF8DC is a very light, vivid yellow.

In the RGB color model it is made of 100% red, 97.3% green and 86.3% blue (255, 248, 220).

Its hue angle is 48°, with 100% saturation and 93% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 14% yellow and 0% black.

This exact color is also called Cornsilk.

Black text is the more readable choice on this background (contrast 19.71:1).

#FFF8DC color codes

HEX#FFF8DC
RGBrgb(255, 248, 220)
RGB percentrgb(100%, 97.3%, 86.3%)
HSLhsl(48, 100%, 93%)
HSV / HSBhsv(48, 14%, 100%)
CMYKcmyk(0%, 3%, 14%, 0%)
CIE LABlab(97.46, -2.22, 14.29)
CIE LCHlch(97.46, 14.46, 98.82)
CIE XYZxyz(87.725, 93.563, 81.134)
Decimal16775388
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #FFF8DC, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #FFF8DCRatioAAAAAAA large
Sample text19.71:1PassPassPass
Sample text1.07:1FailFailFail
#FFF8DC as text onRatioAAAAAAA large
Sample text1.07:1FailFailFail
Sample text19.71:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #FFF8DC looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #fff8dc; }
.text { color: #fff8dc; }
.border { border: 2px solid #fff8dc; }
.transparent { background-color: rgb(255 248 220 / 50%); }
.gradient { background: linear-gradient(to right, #fff8dc, #f5ffdc); }
Background
Text color
Border

Similar colors

Questions

What color is #FFF8DC?
#FFF8DC is a very light, vivid yellow known as Cornsilk. It belongs to the beige family of colors.
What is the RGB value of #FFF8DC?
The RGB value is 255, 248, 220: 255 red, 248 green and 220 blue on a 0 to 255 scale.
What is the complementary color of #FFF8DC?
The complementary color is #DCE3FF, found by rotating the hue 180° on the color wheel.
Is black or white text better on #FFF8DC?
Black text. Black text has a contrast ratio of 19.71:1 and white text 1.07:1. WCAG asks for at least 4.5:1 for normal text.