Skip to content
Color Codes

CSS named color

ForestGreen Color Code

ForestGreen is a dark, moderately saturated green with the hex code #228B22. In RGB it is rgb(34, 139, 34), in HSL hsl(120, 61%, 34%) and in CMYK cmyk(76%, 0%, 76%, 45%).

ForestGreen
#228B22

Color values

In CSS you can write it as the keyword forestgreen.

White text on ForestGreen has a contrast ratio of 4.39:1 and black text 4.78:1, so black text is the more readable choice.

The closest Tailwind CSS color is Green 700 (#15803D).

Use ForestGreen in CSS

.element {
  color: forestgreen;
  background-color: #228b22;
  border-color: rgb(34, 139, 34);
}

Tints and shades of ForestGreen

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with ForestGreen

Color-wheel harmonies built from #228B22. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on ForestGreen

Aa
White text
4.39:1
AA · Large text
Aa
Black text
4.78:1
AA
Check in the contrast checker

Colors similar to ForestGreen

Palettes with similar colors

Questions about ForestGreen

What is the hex code for ForestGreen?

The hex code for ForestGreen is #228B22. Its RGB value is rgb(34, 139, 34) and its HSL value is hsl(120, 61%, 34%).

What colors go with ForestGreen?

The complementary color of ForestGreen is #8C228C. For a softer scheme try the analogous colors #578C22 and #228C57; for a balanced three-color scheme use the triadic colors #22228C and #8C2222.

Is ForestGreen readable as a text color?

On a white background ForestGreen has a contrast ratio of 4.39:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 4.78:1.

More green colors