Skip to content

CSS named color

DarkSeaGreen #8FBC8F

DarkSeaGreen (CSS keyword darkseagreen) has the hex code #8FBC8F and the RGB value rgb(143, 188, 143): a light, muted green.

DarkSeaGreen#8FBC8F

A soft, grayish green, much lighter than seagreen even though its name says "dark". It is another example of the X11 names not being internally consistent.

Color codes for DarkSeaGreen

Color codes for DarkSeaGreen
CSS keyworddarkseagreen
HEX#8FBC8F
RGBrgb(143, 188, 143)
HSLhsl(120, 25%, 65%)
HWBhwb(120 56% 26%)
OKLCHoklch(75.1% 0.08 144.7)
CMYK (naive, no ICC profile)cmyk(24%, 0%, 24%, 26%)
Decimal9,419,919
Hue familyGreens

Contrast and accessibility

On darkseagreen, black text has a contrast ratio of 9.75:1 and passes AAA at any text size; white text reaches 2.15: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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on darkseagreen9.75:1PassPassPassPass61.7
White text on darkseagreen2.15:1FailFailFailFail−46.9
Darkseagreen text on white2.15:1FailFailFailFail42.2
Darkseagreen text on black9.75:1PassPassPassPass−60.0

Tints and shades

Each step mixes darkseagreen with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, darkseagreen, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #95bf95
  2. 15%
    #a0c6a0
  3. 25%
    #abcdab
  4. 35%
    #b6d3b6
  5. 45%
    #c1dac1
  6. 55%
    #cde1cd
  7. 65%
    #d8e8d8
  8. 75%
    #e3eee3
  9. 85%
    #eef5ee
  10. 95%
    #f9fcf9

Shades (mixed with black)

  1. 5%
    #88b388
  2. 15%
    #7aa07a
  3. 25%
    #6b8d6b
  4. 35%
    #5d7a5d
  5. 45%
    #4f674f
  6. 55%
    #405540
  7. 65%
    #324232
  8. 75%
    #242f24
  9. 85%
    #151c15
  10. 95%
    #070907

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, darkseagreen's complementary color is #C89DCB (close to plum), its analogous colors are #ACB57A and #76BFAB, and its triadic partners are #95AEE2 and #DC9B95. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#c89dcb
Analogous−30°, +30°#acb57a#76bfab
Triadic+120°, +240°#95aee2#dc9b95
Split-complementary+150°, +210°#b1a5dc#d799b1

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?

DarkSeaGreen is a cool color: its hue is 120° 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

Nearest CSS named colors
ColorHEXΔE OK
mediumaquamarine#66cdaa5.6
darkkhaki#bdb76b6.6
darkgray#a9a9a98.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
olive-400#abab9c6.6
mist-400#9ca8ab8.1
stone-400#a6a09b9.0

Code snippets

CSS
.element {
  color: darkseagreen;
  background-color: #8fbc8f;
  border-color: rgb(143 188 143);
  outline-color: oklch(75.1% 0.08 144.7);
}
Tailwind CSS
<div class="bg-[#8fbc8f] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-darkseagreen: #8fbc8f;
}
/* then use bg-darkseagreen, text-darkseagreen, border-darkseagreen */
SwiftUI
import SwiftUI

extension Color {
  static let darkseagreen = Color(red: 0.561, green: 0.737, blue: 0.561)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Darkseagreen = Color(0xFF8FBC8F)
Flutter
import 'package:flutter/material.dart';

const darkseagreen = Color(0xFF8FBC8F);
Android XML
<!-- res/values/colors.xml -->
<color name="darkseagreen">#8FBC8F</color>

Frequently asked questions

What is the hex code for darkseagreen?
The hex code for darkseagreen is #8FBC8F. The same color is rgb(143, 188, 143), hsl(120, 25%, 65%) and oklch(75.1% 0.08 144.7), and in CSS you can also write the keyword darkseagreen directly.
Is darkseagreen a warm or cool color?
DarkSeaGreen is a cool color: its hue is 120° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
What colors go with darkseagreen?
Rotating the hue in OKLCH while keeping lightness and chroma, darkseagreen's complementary color is #C89DCB (close to plum), its analogous colors are #ACB57A and #76BFAB, and its triadic partners are #95AEE2 and #DC9B95. For text on top, black gives the higher contrast.
Can you use white text on darkseagreen?
White text on darkseagreen has a contrast ratio of 2.15:1, which fails AA even for large text under WCAG 2.2. Black text reaches 9.75:1 and passes both AA and AAA. In APCA terms that is Lc −46.9 for white and Lc 61.7 for black.
What is the RGB value of darkseagreen?
DarkSeaGreen is rgb(143, 188, 143): red 143, green 188 and blue 143 on the 0 to 255 scale, or 56.1%, 73.7% and 56.1%. As a decimal integer it is 9419919.

Last reviewed by Arielton Oberek.