CSS named color
SeaGreen #2E8B57
SeaGreen (CSS keyword seagreen) has the hex code #2E8B57 and the RGB value rgb(46, 139, 87): a medium-dark, moderately saturated green.
A medium-dark green with a blue tint (#2e8b57). It is darker than both mediumseagreen and, confusingly, darkseagreen.
Color codes for SeaGreen
| CSS keyword | seagreen |
|---|---|
| HEX | #2E8B57 |
| RGB | rgb(46, 139, 87) |
| HSL | hsl(146, 50%, 36%) |
| HWB | hwb(146 18% 45%) |
| OKLCH | oklch(56.9% 0.119 154.9) |
| CMYK (naive, no ICC profile) | cmyk(67%, 0%, 37%, 45%) |
| Decimal | 3,050,327 |
| Hue family | Greens |
Contrast and accessibility
On seagreen, black text has a contrast ratio of 4.94:1 and passes AA for normal text; white text reaches 4.24:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on seagreen | 4.94:1 | Pass | Pass | Fail | Pass | 35.1 |
| White text on seagreen | 4.24:1 | Fail | Pass | Fail | Fail | −74.5 |
| Seagreen text on white | 4.24:1 | Fail | Pass | Fail | Fail | 69.0 |
| Seagreen text on black | 4.94:1 | Pass | Pass | Fail | Pass | −32.7 |
Tints and shades
Each step mixes seagreen with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, seagreen, white 25%) in CSS.
Tints (mixed with white)
- 5%
#38915f - 15%
#4d9c70 - 25%
#62a881 - 35%
#77b492 - 45%
#8cbfa3 - 55%
#a1cbb3 - 65%
#b6d6c4 - 75%
#cbe2d5 - 85%
#e0eee6 - 95%
#f5f9f7
Shades (mixed with black)
- 5%
#2c8453 - 15%
#27764a - 25%
#236841 - 35%
#1e5a39 - 45%
#194c30 - 55%
#153f27 - 65%
#10311e - 75%
#0c2316 - 85%
#07150d - 95%
#020704
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, seagreen's complementary color is #A15A93 (close to mediumorchid), its analogous colors are #67832B and #008D80, and its triadic partners are #6370BC and #B15A45. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #a15a93 |
| Analogous | −30°, +30° | #67832b#008d80 |
| Triadic | +120°, +240° | #6370bc#b15a45 |
| Split-complementary | +150°, +210° | #8763af#af566e |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
SeaGreen is a cool color: its hue is 146° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| forestgreen | #228b22 | 5.9 |
| olivedrab | #6b8e23 | 7.3 |
| darkcyan | #008b8b | 7.7 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| emerald-600 | #009966 | 4.2 |
| green-700 | #008236 | 5.6 |
| emerald-700 | #007a55 | 6.4 |
Code snippets
.element {
color: seagreen;
background-color: #2e8b57;
border-color: rgb(46 139 87);
outline-color: oklch(56.9% 0.119 154.9);
}<div class="bg-[#2e8b57] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-seagreen: #2e8b57;
}
/* then use bg-seagreen, text-seagreen, border-seagreen */import SwiftUI
extension Color {
static let seagreen = Color(red: 0.180, green: 0.545, blue: 0.341)
}import androidx.compose.ui.graphics.Color
val Seagreen = Color(0xFF2E8B57)import 'package:flutter/material.dart';
const seagreen = Color(0xFF2E8B57);<!-- res/values/colors.xml -->
<color name="seagreen">#2E8B57</color>Frequently asked questions
- What is the hex code for seagreen?
- The hex code for seagreen is #2E8B57. The same color is rgb(46, 139, 87), hsl(146, 50%, 36%) and oklch(56.9% 0.119 154.9), and in CSS you can also write the keyword seagreen directly.
- Is seagreen a warm or cool color?
- SeaGreen is a cool color: its hue is 146° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
- What colors go with seagreen?
- Rotating the hue in OKLCH while keeping lightness and chroma, seagreen's complementary color is #A15A93 (close to mediumorchid), its analogous colors are #67832B and #008D80, and its triadic partners are #6370BC and #B15A45. For text on top, black gives the higher contrast.
- Can you use white text on seagreen?
- White text on seagreen has a contrast ratio of 4.24:1, which passes AA only for large text (24 px, or 18.66 px bold, and up) under WCAG 2.2. Black text reaches 4.94:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −74.5 for white and Lc 35.1 for black.
- What is the RGB value of seagreen?
- SeaGreen is rgb(46, 139, 87): red 46, green 139 and blue 87 on the 0 to 255 scale, or 18.0%, 54.5% and 34.1%. As a decimal integer it is 3050327.
Last reviewed by Arielton Oberek.