Free Accessible CSS Gradient Generator

← All Colors
#2E8B57 Sea Green

Sea Green Hex Code #2E8B57

Sea Green is a medium, moderate green with the hex code #2E8B57. In RGB it is 46, 139, 87, and in HSL it is 146°, 50%, 36%. It is one of the 148 named colors in CSS, so you can write “seagreen” instead of the hex code.

HEX
#2E8B57
RGB
rgb(46, 139, 87)
HSL
hsl(146, 50%, 36%)
HSV
hsv(146°, 67%, 55%)
CMYK
cmyk(67%, 0%, 37%, 45%)
CSS name
seagreen

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

About Sea Green

On a white background Sea Green has a contrast ratio of 4.25:1 (AA Large), and on black 4.95:1 (AA). Black text is the better choice on top of it.

It sits between the warm and cool halves of the color wheel, so it pairs comfortably with either.

Green suggests growth, health and success, so it is common for confirmations, finance and eco brands. Check text contrast carefully, because many mid-tone greens fall short of the WCAG minimum with white text.

Shades and tints of Sea Green

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

Color harmonies for Sea Green

These schemes are calculated from Sea Green 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 Sea Green is #8B3A2E, close to the named color Sienna.

Sea Green 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 Sea Green scores against white and black.

Contrast of Sea Green with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 4.25:1 ✕ Fail ✓ Pass ✕ Fail ✕ Fail
Black (#000000) 4.95:1 ✓ Pass ✓ Pass ✕ Fail ✓ Pass
Aa White text on Sea Green4.25:1
Aa Black text on Sea Green4.95:1

Sea Green and color blindness

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

Protanopia #8B8054

Sea Green changes noticeably.

Deuteranopia #7F775A

Sea Green changes noticeably.

Tritanopia #008A7E

Sea Green changes noticeably.

Achromatopsia #7B7B7B

Sea Green changes noticeably.

Gradients with Sea Green

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

Sea Green to a lighter tint

background: linear-gradient(135deg, #2e8b57 0%, #abd1bc 100%);

Sea Green to its analogous neighbour

background: linear-gradient(135deg, #2e8b57 0%, #2e8b86 100%);

Sea Green to its complement

background: linear-gradient(135deg, #2e8b57 0%, #8b2e62 100%);

Colors similar to Sea Green

How each close match differs from Sea Green.

More green colors →

Use Sea Green in code

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

/* Tailwind v4 theme color */
@theme {
  --color-sea-green: #2e8b57;
}

Sea Green questions

What is the hex code for Sea Green?

The hex code for Sea Green is #2E8B57. In RGB that is rgb(46, 139, 87), and in HSL it is hsl(146, 50%, 36%).

What is the complementary color of Sea Green?

On the RGB (screen) color wheel, the complement of Sea Green is #8B2E62, which is close to Pale Violet Red. On the artist’s RYB wheel it is #8B3A2E, close to Sienna.

Should I use white or black text on Sea Green?

Black text. It has a contrast ratio of 4.95:1 against Sea Green, which is WCAG AA. The other option scores 4.25:1.

Is Sea Green accessible as a text color on white?

Only for large text. Sea Green on white scores 4.25:1, which passes WCAG AA for large text (3:1) but not for normal text (4.5:1).

What are darker and lighter shades of Sea Green?

Mixing Sea Green with black gives #256F46, #1C5334, #123823, #091C11 (20% to 80% black). Mixing it with white gives #58A279, #82B99A, #ABD1BC, #D5E8DD (20% to 80% white).

More color tools