Free Accessible CSS Gradient Generator

← All Colors
#FFF5EE Seashell

Seashell Hex Code #FFF5EE

Seashell is a very light, muted off-white with the hex code #FFF5EE. In RGB it is 255, 245, 238, and in HSL it is 25°, 100%, 97%. It is one of the 148 named colors in CSS, so you can write “seashell” instead of the hex code.

HEX
#FFF5EE
RGB
rgb(255, 245, 238)
HSL
hsl(25, 100%, 97%)
HSV
hsv(25°, 7%, 100%)
CMYK
cmyk(0%, 4%, 7%, 0%)
CSS name
seashell

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Seashell

On a white background Seashell has a contrast ratio of 1.07:1 (Fail), and on black 19.55:1 (AAA). Black text is the better choice on top of it.

It sits on the warm side of the color wheel, a range that tends to feel energetic and appears to advance toward the viewer.

Near-white colors work well as backgrounds and surfaces. Their slight tint feels softer than pure white, which can look harsh across a large screen.

Shades and tints of Seashell

Tints mix Seashell with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Seashell

These schemes are calculated from Seashell on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Seashell is #EEF7FF, close to the named color Alice Blue.

Seashell contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Seashell scores against white and black.

Contrast of Seashell with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 1.07:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 19.55:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Seashell1.07:1
Aa Black text on Seashell19.55:1

Seashell and color blindness

These are approximate previews of how Seashell can look with the main types of color vision deficiency.

Protanopia #F8F5EE

Seashell looks almost the same.

Deuteranopia #FAF8EE

Seashell looks almost the same.

Tritanopia #FFF3F3

Seashell looks almost the same.

Achromatopsia #F7F7F7

Seashell looks almost the same.

Gradients with Seashell

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Seashell to a lighter tint

background: linear-gradient(135deg, #fff5ee 0%, #fffbf8 100%);

Seashell to its analogous neighbour

background: linear-gradient(135deg, #fff5ee 0%, #fffeee 100%);

Seashell to its complement

background: linear-gradient(135deg, #fff5ee 0%, #eef8ff 100%);

Colors similar to Seashell

How each close match differs from Seashell.

More white & cream colors →

Use Seashell in code

CSS
.element {
  color: #fff5ee;
  background-color: #fff5ee;
  border-color: seashell;   /* seashell is a valid CSS color name */
}
CSS variable
:root {
  --color-seashell: #fff5ee;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#fff5ee] text-[#fff5ee] border-[#fff5ee]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-seashell: #fff5ee;
}

Seashell questions

What is the hex code for Seashell?

The hex code for Seashell is #FFF5EE. In RGB that is rgb(255, 245, 238), and in HSL it is hsl(25, 100%, 97%).

What is the complementary color of Seashell?

On the RGB (screen) color wheel, the complement of Seashell is #EEF8FF, which is close to Alice Blue. On the artist’s RYB wheel it is #EEF7FF, close to Alice Blue.

Should I use white or black text on Seashell?

Black text. It has a contrast ratio of 19.55:1 against Seashell, which is WCAG AAA. The other option scores 1.07:1.

Is Seashell accessible as a text color on white?

No. Seashell on white scores 1.07:1, which is below the WCAG minimum of 3:1 even for large text.

What are darker and lighter shades of Seashell?

Mixing Seashell with black gives #CCC4BE, #99938F, #66625F, #333130 (20% to 80% black). Mixing it with white gives #FFF7F1, #FFF9F5, #FFFBF8, #FFFDFC (20% to 80% white).

More color tools