hexcolors

#FFF8DC

Closest named color: cornsilk

About this color

#FFF8DC is a vivid very light yellow color. In RGB it is 255, 248, 220, and its closest named color is cornsilk. Text in black is easiest to read on it, with a contrast ratio of 19.71:1.

What does yellow mean?

Copy the value you need

Click any row to copy it.

HEX
RGB
HSL
HSV
CMYK
LAB
OKLCH

Is text readable on #FFF8DC?

Contrast against white and black text.

Aa Sample
1.07:1 with white text
Fails WCAG contrast
Aa Sample
19.71:1 with black text
Passes AAA for all text

Test your own pair

Make it lighter or darker

Shades keep the same hue. Click one to open the closest color page.

Build a full 50 to 950 scale

Softer versions (tints)

Mixed with white.

Muted versions (tones)

Mixed with gray.

Colors that go with #FFF8DC

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with cornsilk

How it looks with color blindness

Simulated for common types.

Normal
#FFF8DC
Protanopia
#FEF6DA
Deuteranopia
#FFF9DD
Tritanopia
#FFF4F0

Test an image

Copy the code

CSS, Sass and Tailwind.

color: #fff8dc;
background-color: #fff8dc;
--brand: #fff8dc;
$brand: #fff8dc;
bg-[#fff8dc] text-[#fff8dc] border-[#fff8dc]

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #FFF8DC?

#FFF8DC is rgb(255, 248, 220).

What is the closest named color to #FFF8DC?

The closest CSS named color is cornsilk (#FFF8DC).

What color goes well with #FFF8DC?

Its complementary color is #DCE3FF. Analogous colors at #FFE7DC and #F5FFDC also work well.

Should I use white or black text on #FFF8DC?

Black text is easier to read, with a contrast ratio of 19.71:1.

Use this color anywhere

Data, embeds and tools.

Get #FFF8DC as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color