Free Accessible CSS Gradient Generator

← All Colors
#98FB98 Pale Green

Pale Green Hex Code #98FB98

Pale Green is a very light, moderate green with the hex code #98FB98. In RGB it is 152, 251, 152, and in HSL it is 120°, 93%, 79%. It is one of the 148 named colors in CSS, so you can write “palegreen” instead of the hex code.

HEX
#98FB98
RGB
rgb(152, 251, 152)
HSL
hsl(120, 93%, 79%)
HSV
hsv(120°, 39%, 98%)
CMYK
cmyk(39%, 0%, 39%, 2%)
CSS name
palegreen

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Pale Green

On a white background Pale Green has a contrast ratio of 1.27:1 (Fail), and on black 16.59:1 (AAA). Black text is the better choice on top of it.

It sits between the warm and cool halves of the color wheel, so it pairs comfortably with either.

Green suggests growth, health and success, so it is common for confirmations, finance and eco brands. Check text contrast carefully, because many mid-tone greens fall short of the WCAG minimum with white text.

Shades and tints of Pale Green

Tints mix Pale Green with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Pale Green

These schemes are calculated from Pale Green on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Pale Green is #FB9898, close to the named color Light Coral.

Pale Green contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Pale Green scores against white and black.

Contrast of Pale Green with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 1.27:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 16.59:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Pale Green1.27:1
Aa Black text on Pale Green16.59:1

Pale Green and color blindness

These are approximate previews of how Pale Green can look with the main types of color vision deficiency.

Protanopia #FFEA91

Pale Green changes noticeably.

Deuteranopia #F0E19E

Pale Green changes noticeably.

Tritanopia #8CF6E2

Pale Green changes noticeably.

Achromatopsia #E4E4E4

Pale Green changes noticeably.

Gradients with Pale Green

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Pale Green to a lighter tint

background: linear-gradient(135deg, #98fb98 0%, #d6fdd6 100%);

Pale Green to its analogous neighbour

background: linear-gradient(135deg, #98fb98 0%, #98fbca 100%);

Pale Green to its complement

background: linear-gradient(135deg, #98fb98 0%, #fb98fb 100%);

Colors similar to Pale Green

How each close match differs from Pale Green.

More green colors →

Use Pale Green in code

CSS
.element {
  color: #98fb98;
  background-color: #98fb98;
  border-color: palegreen;   /* palegreen is a valid CSS color name */
}
CSS variable
:root {
  --color-pale-green: #98fb98;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#98fb98] text-[#98fb98] border-[#98fb98]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-pale-green: #98fb98;
}

Pale Green questions

What is the hex code for Pale Green?

The hex code for Pale Green is #98FB98. In RGB that is rgb(152, 251, 152), and in HSL it is hsl(120, 93%, 79%).

What is the complementary color of Pale Green?

On the RGB (screen) color wheel, the complement of Pale Green is #FB98FB, which is close to Violet. On the artist’s RYB wheel it is #FB9898, close to Light Coral.

Should I use white or black text on Pale Green?

Black text. It has a contrast ratio of 16.59:1 against Pale Green, which is WCAG AAA. The other option scores 1.27:1.

Is Pale Green accessible as a text color on white?

No. Pale Green on white scores 1.27:1, which is below the WCAG minimum of 3:1 even for large text.

What are darker and lighter shades of Pale Green?

Mixing Pale Green with black gives #7AC97A, #5B975B, #3D643D, #1E321E (20% to 80% black). Mixing it with white gives #ADFCAD, #C1FDC1, #D6FDD6, #EAFEEA (20% to 80% white).

More color tools