CSS named color
PaleGreen #98FB98
PaleGreen (CSS keyword palegreen) has the hex code #98FB98 and the RGB value rgb(152, 251, 152): a very light, vivid green.
A light pastel green (#98fb98), a little lighter than lightgreen.
Color codes for PaleGreen
| CSS keyword | palegreen |
|---|---|
| HEX | #98FB98 |
| RGB | rgb(152, 251, 152) |
| HSL | hsl(120, 93%, 79%) |
| HWB | hwb(120 60% 2%) |
| OKLCH | oklch(90.4% 0.162 144.1) |
| CMYK (naive, no ICC profile) | cmyk(39%, 0%, 39%, 2%) |
| Decimal | 10,025,880 |
| Hue family | Greens |
Contrast and accessibility
On palegreen, black text has a contrast ratio of 16.58:1 and passes AAA at any text size; white text reaches 1.26: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 palegreen | 16.58:1 | Pass | Pass | Pass | Pass | 90.6 |
| White text on palegreen | 1.26:1 | Fail | Fail | Fail | Fail | −15.0 |
| Palegreen text on white | 1.26:1 | Fail | Fail | Fail | Fail | 13.0 |
| Palegreen text on black | 16.58:1 | Pass | Pass | Pass | Pass | −90.9 |
Tints and shades
Each step mixes palegreen with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, palegreen, white 25%) in CSS.
Tints (mixed with white)
- 5%
#9dfb9d - 15%
#a7fca7 - 25%
#b2fcb2 - 35%
#bcfcbc - 45%
#c6fdc6 - 55%
#d1fdd1 - 65%
#dbfedb - 75%
#e5fee5 - 85%
#f0fef0 - 95%
#fafffa
Shades (mixed with black)
- 5%
#90ee90 - 15%
#81d581 - 25%
#72bc72 - 35%
#63a363 - 45%
#548a54 - 55%
#447144 - 65%
#355835 - 75%
#263f26 - 85%
#172617 - 95%
#080d08
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, palegreen's complementary color is #FFC5FF (close to pink), its analogous colors are #DEEB5F and #37FFD7, and its triadic partners are #C9E0FF and #FFCDC8. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #ffc5ff |
| Analogous | −30°, +30° | #deeb5f#37ffd7 |
| Triadic | +120°, +240° | #c9e0ff#ffcdc8 |
| Split-complementary | +150°, +210° | #e1d6ff#ffc9e3 |
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?
PaleGreen 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
| Color | HEX | ΔE OK |
|---|---|---|
| lightgreen | #90ee90 | 3.6 |
| mediumspringgreen | #00fa9a | 7.1 |
| aquamarine | #7fffd4 | 7.1 |
Code snippets
.element {
color: palegreen;
background-color: #98fb98;
border-color: rgb(152 251 152);
outline-color: oklch(90.4% 0.162 144.1);
}<div class="bg-[#98fb98] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-palegreen: #98fb98;
}
/* then use bg-palegreen, text-palegreen, border-palegreen */import SwiftUI
extension Color {
static let palegreen = Color(red: 0.596, green: 0.984, blue: 0.596)
}import androidx.compose.ui.graphics.Color
val Palegreen = Color(0xFF98FB98)import 'package:flutter/material.dart';
const palegreen = Color(0xFF98FB98);<!-- res/values/colors.xml -->
<color name="palegreen">#98FB98</color>Frequently asked questions
- What is the hex code for palegreen?
- The hex code for palegreen is #98FB98. The same color is rgb(152, 251, 152), hsl(120, 93%, 79%) and oklch(90.4% 0.162 144.1), and in CSS you can also write the keyword palegreen directly.
- Is palegreen a warm or cool color?
- PaleGreen 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 palegreen?
- Rotating the hue in OKLCH while keeping lightness and chroma, palegreen's complementary color is #FFC5FF (close to pink), its analogous colors are #DEEB5F and #37FFD7, and its triadic partners are #C9E0FF and #FFCDC8. For text on top, black gives the higher contrast.
- Can you use white text on palegreen?
- White text on palegreen has a contrast ratio of 1.26:1, which fails AA even for large text under WCAG 2.2. Black text reaches 16.58:1 and passes both AA and AAA. In APCA terms that is Lc −15.0 for white and Lc 90.6 for black.
- What is the RGB value of palegreen?
- PaleGreen is rgb(152, 251, 152): red 152, green 251 and blue 152 on the 0 to 255 scale, or 59.6%, 98.4% and 59.6%. As a decimal integer it is 10025880.
Last reviewed by Arielton Oberek.