Skip to content

CSS named color

SpringGreen #00FF7F

SpringGreen (CSS keyword springgreen) has the hex code #00FF7F and the RGB value rgb(0, 255, 127): a very light, vivid green.

SpringGreen#00FF7F

A fully saturated green-cyan (#00ff7f), halfway between lime and the cyan side of the color wheel. Very bright, best on dark backgrounds.

Color codes for SpringGreen

Color codes for SpringGreen
CSS keywordspringgreen
HEX#00FF7F
RGBrgb(0, 255, 127)
HSLhsl(150, 100%, 50%)
HWBhwb(150 0% 0%)
OKLCHoklch(87.5% 0.235 151)
CMYK (naive, no ICC profile)cmyk(100%, 0%, 50%, 0%)
Decimal65,407
Hue familyGreens

Contrast and accessibility

On springgreen, black text has a contrast ratio of 15.61:1 and passes AAA at any text size; white text reaches 1.34: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 springgreen15.61:1PassPassPassPass87.5
White text on springgreen1.34:1FailFailFailFail−18.5
Springgreen text on white1.34:1FailFailFailFail16.1
Springgreen text on black15.61:1PassPassPassPass−87.6

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #0dff85
  2. 15%
    #26ff92
  3. 25%
    #40ff9f
  4. 35%
    #59ffac
  5. 45%
    #73ffb9
  6. 55%
    #8cffc5
  7. 65%
    #a6ffd2
  8. 75%
    #bfffdf
  9. 85%
    #d9ffec
  10. 95%
    #f2fff9

Shades (mixed with black)

  1. 5%
    #00f279
  2. 15%
    #00d96c
  3. 25%
    #00bf5f
  4. 35%
    #00a653
  5. 45%
    #008c46
  6. 55%
    #007339
  7. 65%
    #00592c
  8. 75%
    #004020
  9. 85%
    #002613
  10. 95%
    #000d06

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, springgreen's complementary color is #FFB2FF (close to plum), its analogous colors are #C1EA00 and #00FBDD, and its triadic partners are #C2D4FF and #FFC0B2. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#ffb2ff
Analogous−30°, +30°#c1ea00#00fbdd
Triadic+120°, +240°#c2d4ff#ffc0b2
Split-complementary+150°, +210°#e1c7ff#ffbcd2

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?

SpringGreen is a cool color: its hue is 150° 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
mediumspringgreen#00fa9a3.7
lawngreen#7cfc007.0
lime#00ff007.2

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
green-300#7bf1a88.6
green-400#05df728.7
lime-400#9ae6009.7

Code snippets

CSS
.element {
  color: springgreen;
  background-color: #00ff7f;
  border-color: rgb(0 255 127);
  outline-color: oklch(87.5% 0.235 151);
}
Tailwind CSS
<div class="bg-[#00ff7f] text-black">...</div>

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

extension Color {
  static let springgreen = Color(red: 0.000, green: 1.000, blue: 0.498)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const springgreen = Color(0xFF00FF7F);
Android XML
<!-- res/values/colors.xml -->
<color name="springgreen">#00FF7F</color>

Frequently asked questions

What is the hex code for springgreen?
The hex code for springgreen is #00FF7F. The same color is rgb(0, 255, 127), hsl(150, 100%, 50%) and oklch(87.5% 0.235 151), and in CSS you can also write the keyword springgreen directly.
Is springgreen a warm or cool color?
SpringGreen is a cool color: its hue is 150° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
What colors go with springgreen?
Rotating the hue in OKLCH while keeping lightness and chroma, springgreen's complementary color is #FFB2FF (close to plum), its analogous colors are #C1EA00 and #00FBDD, and its triadic partners are #C2D4FF and #FFC0B2. For text on top, black gives the higher contrast.
Can you use white text on springgreen?
White text on springgreen has a contrast ratio of 1.34:1, which fails AA even for large text under WCAG 2.2. Black text reaches 15.61:1 and passes both AA and AAA. In APCA terms that is Lc −18.5 for white and Lc 87.5 for black.
What is the RGB value of springgreen?
SpringGreen is rgb(0, 255, 127): red 0, green 255 and blue 127 on the 0 to 255 scale, or 0.0%, 100.0% and 49.8%. As a decimal integer it is 65407.

Last reviewed by Arielton Oberek.