hexcolors

#F5F5DC

Closest named color: beige

About this color

#F5F5DC is a very light yellow color. In RGB it is 245, 245, 220, and its closest named color is beige. Text in black is easiest to read on it, with a contrast ratio of 18.98: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 #F5F5DC?

Contrast against white and black text.

Aa Sample
1.11:1 with white text
Fails WCAG contrast
Aa Sample
18.98: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 #F5F5DC

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with beige

How it looks with color blindness

Simulated for common types.

Normal
#F5F5DC
Protanopia
#FAF3DB
Deuteranopia
#FAF4DD
Tritanopia
#F9F2EE

Test an image

Copy the code

CSS, Sass and Tailwind.

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

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #F5F5DC?

#F5F5DC is rgb(245, 245, 220).

What is the closest named color to #F5F5DC?

The closest CSS named color is beige (#F5F5DC).

What color goes well with #F5F5DC?

Its complementary color is #DCDCF5. Analogous colors at #F5E9DC and #E9F5DC also work well.

Should I use white or black text on #F5F5DC?

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

Use this color anywhere

Data, embeds and tools.

Get #F5F5DC as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color