CSS named color
SeaGreen #2E8B57
SeaGreen is a green with the hex code #2E8B57, which converts to rgb(46, 139, 87). Open #2E8B57 in the converter to tweak it.
SeaGreen color values
| HEX | #2E8B57 |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(46, 139, 87) |
| RGBA | rgba(46, 139, 87, 1) |
| 8-digit HEX | #2E8B57FF |
| HSL | hsl(146, 50%, 36%) |
| HSV / HSB | 146°, 67%, 55% |
| CMYK | 67%, 0%, 37%, 45% |
| RGB 0–1 | 0.18, 0.545, 0.341 |
| Decimal | 3050327 |
| CSS keyword | seagreen |
How #2E8B57 converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: 2E → 46, 8B → 139, 57 → 87. That gives rgb(46, 139, 87). The step-by-step guide explains the math.
Shades of SeaGreen
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of SeaGreen
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of SeaGreen on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.
Complementary
Analogous
Split-complementary
Triadic
Tetradic (square)
Contrast and accessibility
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | SeaGreen | 4.24:1 | AA Large only |
| Black | SeaGreen | 4.94:1 | AA |
Use black text on a seagreen background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use SeaGreen in CSS
.element {
color: seagreen; /* keyword */
background-color: #2E8B57; /* hex */
border-color: rgb(46 139 87 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #2E8B5780 is SeaGreen at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for SeaGreen?
The CSS named color seagreen is #2E8B57 in hexadecimal. In CSS you can write color: seagreen; or color: #2E8B57; — both produce the same pixel.
What is SeaGreen in RGB?
SeaGreen is rgb(46, 139, 87): red 46, green 139, blue 87 on the 0–255 scale. As normalized 0–1 floats that is (0.18, 0.545, 0.341).
Is white or black text more readable on SeaGreen?
Black text is more readable. White on #2E8B57 has a contrast ratio of 4.24:1 (AA Large only), black on #2E8B57 has 4.94:1 (AA). WCAG AA needs 4.5:1 for normal text.