CSS named color
MediumSeaGreen #3CB371
MediumSeaGreen (CSS keyword mediumseagreen) has the hex code #3CB371 and the RGB value rgb(60, 179, 113): a medium, moderately saturated green.
A medium green with a slight blue tint (#3cb371), lighter than seagreen. It is a balanced "success" green that is not as loud as lime.
Color codes for MediumSeaGreen
| CSS keyword | mediumseagreen |
|---|---|
| HEX | #3CB371 |
| RGB | rgb(60, 179, 113) |
| HSL | hsl(147, 50%, 47%) |
| HWB | hwb(147 24% 30%) |
| OKLCH | oklch(68.4% 0.144 155) |
| CMYK (naive, no ICC profile) | cmyk(66%, 0%, 37%, 30%) |
| Decimal | 3,978,097 |
| Hue family | Greens |
Contrast and accessibility
On mediumseagreen, black text has a contrast ratio of 7.87:1 and passes AAA at any text size; white text reaches 2.66: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 mediumseagreen | 7.87:1 | Pass | Pass | Pass | Pass | 52.6 |
| White text on mediumseagreen | 2.66:1 | Fail | Fail | Fail | Fail | −56.6 |
| Mediumseagreen text on white | 2.66:1 | Fail | Fail | Fail | Fail | 51.5 |
| Mediumseagreen text on black | 7.87:1 | Pass | Pass | Pass | Pass | −50.4 |
Tints and shades
Each step mixes mediumseagreen with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, mediumseagreen, white 25%) in CSS.
Tints (mixed with white)
- 5%
#46b778 - 15%
#59be86 - 25%
#6dc695 - 35%
#80cea3 - 45%
#94d5b1 - 55%
#a7ddbf - 65%
#bbe4cd - 75%
#ceecdc - 85%
#e2f4ea - 95%
#f5fbf8
Shades (mixed with black)
- 5%
#39aa6b - 15%
#339860 - 25%
#2d8655 - 35%
#277449 - 45%
#21623e - 55%
#1b5133 - 65%
#153f28 - 75%
#0f2d1c - 85%
#091b11 - 95%
#030906
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, mediumseagreen's complementary color is #CF75BD (close to orchid), its analogous colors are #85A838 and #00B4A5, and its triadic partners are #8090F1 and #E4755A. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #cf75bd |
| Analogous | −30°, +30° | #85a838#00b4a5 |
| Triadic | +120°, +240° | #8090f1#e4755a |
| Split-complementary | +150°, +210° | #ae80e0#e1708d |
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?
MediumSeaGreen is a cool color: its hue is 147° 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 |
|---|---|---|
| lightseagreen | #20b2aa | 8.1 |
| darkseagreen | #8fbc8f | 9.5 |
| mediumaquamarine | #66cdaa | 10.3 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| emerald-500 | #00bc7d | 3.5 |
| teal-500 | #00bba7 | 7.1 |
| green-600 | #00a63e | 7.8 |
Code snippets
.element {
color: mediumseagreen;
background-color: #3cb371;
border-color: rgb(60 179 113);
outline-color: oklch(68.4% 0.144 155);
}<div class="bg-[#3cb371] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-mediumseagreen: #3cb371;
}
/* then use bg-mediumseagreen, text-mediumseagreen, border-mediumseagreen */import SwiftUI
extension Color {
static let mediumseagreen = Color(red: 0.235, green: 0.702, blue: 0.443)
}import androidx.compose.ui.graphics.Color
val Mediumseagreen = Color(0xFF3CB371)import 'package:flutter/material.dart';
const mediumseagreen = Color(0xFF3CB371);<!-- res/values/colors.xml -->
<color name="mediumseagreen">#3CB371</color>Frequently asked questions
- What is the hex code for mediumseagreen?
- The hex code for mediumseagreen is #3CB371. The same color is rgb(60, 179, 113), hsl(147, 50%, 47%) and oklch(68.4% 0.144 155), and in CSS you can also write the keyword mediumseagreen directly.
- Is mediumseagreen a warm or cool color?
- MediumSeaGreen is a cool color: its hue is 147° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
- What colors go with mediumseagreen?
- Rotating the hue in OKLCH while keeping lightness and chroma, mediumseagreen's complementary color is #CF75BD (close to orchid), its analogous colors are #85A838 and #00B4A5, and its triadic partners are #8090F1 and #E4755A. For text on top, black gives the higher contrast.
- Can you use white text on mediumseagreen?
- White text on mediumseagreen has a contrast ratio of 2.66:1, which fails AA even for large text under WCAG 2.2. Black text reaches 7.87:1 and passes both AA and AAA. In APCA terms that is Lc −56.6 for white and Lc 52.6 for black.
- What is the RGB value of mediumseagreen?
- MediumSeaGreen is rgb(60, 179, 113): red 60, green 179 and blue 113 on the 0 to 255 scale, or 23.5%, 70.2% and 44.3%. As a decimal integer it is 3978097.
Last reviewed by Arielton Oberek.