CSS named color

Dark Sea Green #8FBC8F

The CSS keyword darkseagreen is #8FBC8F. It is a light muted green in the green family. In OKLCH it sits at lightness 0.751, chroma 0.080 and hue 144.7°.

Relative luminance
0.4379
OKLCH L · C · h
0.751 · 0.080 · 144.7
Best text
Black 9.75:1
Hue family
Green

#8FBC8F color codes

HEX
#8FBC8F
RGB
rgb(143, 188, 143)
HSL
hsl(120, 25%, 65%)
OKLCH
oklch(0.751 0.080 144.7)
OKLab
oklab(0.751 -0.065 0.046)
CIELAB (D65)
L* 72.09, a* -23.82, b* 18.04
XYZ (D65)
X 34.27, Y 43.79, Z 32.63
CMYK (naive)
cmyk(24%, 0%, 24%, 26%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Legibility

Contrast: is #8FBC8F accessible?

Black text on it reaches 9.75:1, passing AAA. White text fails at 2.15:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    9.75:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +61
  • White text on it

    2.15:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −46
  • As text on black

    9.75:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −59
  • As text on white

    2.15:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +42

Nearest versions that pass 4.5:1

  • For text on white

    #558056 4.55:1

    Darkening its OKLCH lightness from 0.75 to 0.56 reaches 4.55:1 on white, keeping the hue.

  • For text on black

    #8FBC8F 9.75:1

    It already reaches 9.75:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #8FBC8F live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #8FBC8F

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #8FBC8F sits at step 400.

  1. 50#E1FFE0
    White
    1.07
    Black
    19.58
  2. 100#D1F8D0
    White
    1.16
    Black
    18.04
  3. 200#BCE4BB
    White
    1.40
    Black
    14.95
  4. 300#A0CBA0
    White
    1.81
    Black
    11.54
  5. 400This color#8FBC8F
    White
    2.15
    Black
    9.75
  6. 500#689368
    White
    3.52
    Black
    5.96
  7. 600#517B51
    White
    4.88
    Black
    4.30
  8. 700#3B633C
    White
    6.91
    Black
    3.03
  9. 800#254A26
    White
    10.06
    Black
    2.08
  10. 900#103112
    White
    14.28
    Black
    1.47
  11. 950#011D03
    White
    17.82
    Black
    1.17

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #8FBC8F can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.238; #8FBC8F uses 33% of it. Display P3, which many recent phones and laptops show, reaches 0.318 there: 34% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.080
sRGB edge
0.238
Display P3 edge
0.318
Rec. 2020 edge
0.332
Dominant wavelength
549 nm
Excitation purity
18%
Chromaticity
x 0.3096, y 0.3956
  • This color#8FBC8F
  • Most vivid in sRGB#00D237
  • Most vivid in Display P3oklch(0.751 0.318 144.7)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #8fbc8f;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.1506 0.8449 0); }
}

Mixing

Mixing #8FBC8F

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#C7DEC7
  • OKLab50%#C7DDC6
  • OKLCH50%#C7DDC6

Black #000000

  • sRGB50%#485E48
  • OKLab50%#344734
  • OKLCH50%#344734

Its complement #C89DCB

  • sRGB50%#ACADAD
  • OKLab50%#AEAEAE
  • OKLCH50%#7AB7DA
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #8fbc8f, white);
color: color-mix(in oklch, #8fbc8f 50%, white);

In use

#8FBC8F in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:19.75:1 Passes
  • Link and body-size textText, 4.5:12.15:1 Fails
  • Large headingLarge text, 3:12.15:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.15:1 Fails

For text on this page, the nearest shade that passes is #558056 4.55:1

Dark page

  • Button labelText, 4.5:19.75:1 Passes
  • Link and body-size textText, 4.5:18.70:1 Passes
  • Large headingLarge text, 3:18.70:1 Passes
  • Icons, borders and focus ringsNon-text, 3:18.70:1 Passes

Color vision

How #8FBC8F looks with color blindness

Achromatopsia changes it most, ΔE2000 20.6; tritanopia changes it least, 11.8.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #BEB48C ΔE2000 15.5

    Distinct

    Reads as light muted amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #B7AF91 ΔE2000 15.8

    Distinct

    Reads as light grayish amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #8BB9B0 ΔE2000 11.8

    Distinct

    Reads as light muted cyan

  • Achromatopsia

    No cone color vision; lightness only

    #B1B1B1 ΔE2000 20.6

    Distinct

    Reads as light gray

Pairing check

Checked against its complement, #C89DCB. Their lightness contrast is only 1.06:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#8FBC8F · #C89DCB47.8Stays distinct
Protanopia#BEB48C · #99A8CD31.5Stays distinct
Deuteranopia#B7AF91 · #A3ADC925.5Stays distinct
Tritanopia#8BB9B0 · #CAA1AD37.4Stays distinct
Achromatopsia#B1B1B1 · #ABABAB1.7Easily confused

Harmony

Color harmonies for #8FBC8F

Its complement is #C89DCB, a light muted magenta.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#8FBC8F
  • Complement#C89DCB

Complementary

Open in Harmony Studio
  • −30°#ACB57A
  • Base#8FBC8F
  • +30°#76BFAB
  • Base#8FBC8F
  • +120°#95AEE2
  • +240°#DC9B95
  • Base#8FBC8F
  • +150°#B1A5DC
  • +210°#D799B1

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-darkseagreen: #8fbc8f;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        darkseagreen: '#8fbc8f',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-darkseagreen: oklch(0.751 0.080 144.7);
}

Design token (W3C DTCG)

{
  "color": {
    "darkseagreen": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.5608, 0.7373, 0.5608],
        "hex": "#8fbc8f"
      },
      "$description": "CSS named color darkseagreen"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let darkseagreen = Color(.sRGB, red: 0.561, green: 0.737, blue: 0.561, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Darkseagreen = Color(0xFF8FBC8F)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #8FBC8F in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.