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.
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
| CSS keyword | springgreen |
|---|---|
| HEX | #00FF7F |
| RGB | rgb(0, 255, 127) |
| HSL | hsl(150, 100%, 50%) |
| HWB | hwb(150 0% 0%) |
| OKLCH | oklch(87.5% 0.235 151) |
| CMYK (naive, no ICC profile) | cmyk(100%, 0%, 50%, 0%) |
| Decimal | 65,407 |
| Hue family | Greens |
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.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on springgreen | 15.61:1 | Pass | Pass | Pass | Pass | 87.5 |
| White text on springgreen | 1.34:1 | Fail | Fail | Fail | Fail | −18.5 |
| Springgreen text on white | 1.34:1 | Fail | Fail | Fail | Fail | 16.1 |
| Springgreen text on black | 15.61:1 | Pass | Pass | Pass | Pass | −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)
- 5%
#0dff85 - 15%
#26ff92 - 25%
#40ff9f - 35%
#59ffac - 45%
#73ffb9 - 55%
#8cffc5 - 65%
#a6ffd2 - 75%
#bfffdf - 85%
#d9ffec - 95%
#f2fff9
Shades (mixed with black)
- 5%
#00f279 - 15%
#00d96c - 25%
#00bf5f - 35%
#00a653 - 45%
#008c46 - 55%
#007339 - 65%
#00592c - 75%
#004020 - 85%
#002613 - 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.
| Harmony | Rotation | Color |
|---|---|---|
| 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.
Code snippets
.element {
color: springgreen;
background-color: #00ff7f;
border-color: rgb(0 255 127);
outline-color: oklch(87.5% 0.235 151);
}<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 */import SwiftUI
extension Color {
static let springgreen = Color(red: 0.000, green: 1.000, blue: 0.498)
}import androidx.compose.ui.graphics.Color
val Springgreen = Color(0xFF00FF7F)import 'package:flutter/material.dart';
const springgreen = Color(0xFF00FF7F);<!-- 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.