CSS named color

Medium Spring Green #00FA9A

The CSS keyword mediumspringgreen is #00FA9A. It is a pale vivid green in the green family. In OKLCH it sits at lightness 0.867, chroma 0.207 and hue 156.9°.

Relative luminance
0.7070
OKLCH L · C · h
0.867 · 0.207 · 156.9
Best text
Black 15.14:1
Hue family
Green

#00FA9A color codes

HEX
#00FA9A
RGB
rgb(0, 250, 154)
HSL
hsl(157, 100%, 49%)
OKLCH
oklch(0.867 0.207 156.9)
OKLab
oklab(0.867 -0.190 0.081)
CIELAB (D65)
L* 87.34, a* -70.69, b* 32.46
XYZ (D65)
X 40.01, Y 70.70, Z 42.10
CMYK (naive)
cmyk(100%, 0%, 38%, 2%)

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 #00FA9A accessible?

Black text on it reaches 15.14:1, passing AAA. White text fails at 1.38: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

    15.14:1

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

    1.38:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −20

    Text is here, unreadable at 1.38:1

  • As text on black

    15.14:1

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

    1.38:1

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

    Text is here, unreadable at 1.38:1

Nearest versions that pass 4.5:1

  • For text on white

    #008851 4.52:1

    Darkening its OKLCH lightness from 0.87 to 0.55 reaches 4.52:1 on white, keeping the hue.

  • For text on black

    #00FA9A 15.14:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #00FA9A 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 #00FA9A

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #00FA9A sits at step 200.

  1. 50#DDFFE9
    White
    1.07
    Black
    19.55
  2. 100#B6FFD2
    White
    1.15
    Black
    18.22
  3. 200This color#00FA9A
    White
    1.38
    Black
    15.14
  4. 300#00E18A
    White
    1.73
    Black
    12.13
  5. 400#00C075
    White
    2.38
    Black
    8.79
  6. 500#00A060
    White
    3.38
    Black
    6.19
  7. 600#00844F
    White
    4.75
    Black
    4.41
  8. 700#006A3E
    White
    6.70
    Black
    3.13
  9. 800#004D2C
    White
    10.00
    Black
    2.09
  10. 900#00321B
    White
    14.26
    Black
    1.47
  11. 950#001C0D
    White
    17.91
    Black
    1.17

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

Gamut

How vivid #00FA9A can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.207; #00FA9A uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.268 there: 30% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.207
sRGB edge
0.207
Display P3 edge
0.268
Rec. 2020 edge
0.320
Dominant wavelength
526 nm
Excitation purity
27%
Chromaticity
x 0.2618, y 0.4626
  • This color#00FA9A
  • Most vivid in sRGB#00FA9A
  • Most vivid in Display P3oklch(0.867 0.268 156.9)

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

Use the wider color where screens show it
.accent {
  color: #00fa9a;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.212 1 0.5736); }
}

Mixing

Mixing #00FA9A

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%#80FDCD
  • OKLab50%#AEFECD
  • OKLCH50%#AEFECD

Black #000000

  • sRGB50%#007D4D
  • OKLab50%#006139
  • OKLCH50%#006139

Its complement #FFBAEC

  • sRGB50%#80DAC3
  • OKLab50%#B8DEC6
  • OKLCH50%#AFD8FF
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #00fa9a, white);
color: color-mix(in oklch, #00fa9a 50%, white);

In use

#00FA9A 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:115.14:1 Passes
  • Link and body-size textText, 4.5:11.38:1 Fails
  • Large headingLarge text, 3:11.38:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.38:1 Fails

For text on this page, the nearest shade that passes is #008851 4.52:1

Dark page

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

Color vision

How #00FA9A looks with color blindness

Protanopia changes it most, ΔE2000 28.9; tritanopia changes it least, 16.2.

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

    #F8E593 ΔE2000 28.9

    Distinct

    Reads as pale soft amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #E0D4A1 ΔE2000 27.3

    Distinct

    Reads as pale muted amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #00F8E2 ΔE2000 16.2

    Distinct

    Reads as pale soft cyan

  • Achromatopsia

    No cone color vision; lightness only

    #DBDBDB ΔE2000 28.4

    Distinct

    Reads as light gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#00FA9A · #FFBAEC51.2Stays distinct
Protanopia#F8E593 · #BBC9EE39.2Stays distinct
Deuteranopia#E0D4A1 · #CBD3EA28.6Stays distinct
Tritanopia#00F8E2 · #FFBCCB55.3Stays distinct
Achromatopsia#DBDBDB · #CFCFCF2.8Easily confused

Harmony

Color harmonies for #00FA9A

Its complement is #FFBAEC, a pale soft magenta.

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

Open the Harmony Studio
  • Base#00FA9A
  • Complement#FFBAEC

Complementary

Open in Harmony Studio
  • −30°#AFEA35
  • Base#00FA9A
  • +30°#00F3E4
  • Base#00FA9A
  • +120°#C8D0FF
  • +240°#FFC3B2

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-mediumspringgreen: #00fa9a;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        mediumspringgreen: '#00fa9a',
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  --color-mediumspringgreen: oklch(0.867 0.207 156.9);
}

Design token (W3C DTCG)

{
  "color": {
    "mediumspringgreen": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0, 0.9804, 0.6039],
        "hex": "#00fa9a"
      },
      "$description": "CSS named color mediumspringgreen"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let mediumspringgreen = Color(.sRGB, red: 0.000, green: 0.980, blue: 0.604, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Mediumspringgreen = Color(0xFF00FA9A)
}

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 #00FA9A in the tools

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