Home / Colors / Forest green hex code

Forest green hex code

A medium-dark green like a pine forest.

#228B22 Forest Green
HEX#228B22
RGBrgb(34, 139, 34)
HSLhsl(120, 61%, 34%)
HSVhsv(120, 76%, 55%)
CMYKcmyk(76%, 0%, 76%, 45%)
Advertisement

About forest green

A medium-dark green like a pine forest. This is the CSS forestgreen. Its hex code is #228B22, which is rgb(34, 139, 34): 34 red, 139 green and 34 blue on a scale of 0 to 255.

Forest green sits between warm and cool, so it can lean either way depending on what it's paired with.

Forest green tints and shades

Lighter tints (mixed with white) and darker shades (mixed with black) of forest green. Click any of them to copy its hex code.

Colors that go with forest green

Complementary

The opposite color on the color wheel, for strong contrast.

Analogous

Neighbors on the color wheel, for a calm, matching look.

Triadic

Three colors evenly spaced around the wheel, for a balanced, lively palette.

Split complementary

The two colors either side of the complement: contrast without clashing.

Text on forest green

White text

4.38:1 · Large text only (AA)

Black text

4.78:1 · Passes AA for all text

For readable text, WCAG asks for a contrast ratio of at least 4.5:1 (3:1 for large text). Black text is the better choice on forest green. Test other combinations with the contrast checker.

Using forest green in CSS

.element {
  color: #228B22;
  background-color: rgb(34 139 34);
  border-color: hsl(120 61% 34%);
}
Advertisement

Frequently asked questions

What is the hex code for forest green?

Forest green is #228B22. In RGB it's rgb(34, 139, 34), and in HSL it's hsl(120, 61%, 34%).

What colors go with forest green?

Its complementary color is #8B228B, which gives strong contrast. For a softer look, use analogous colors #578B22 and #228B57. Forest green also pairs well with white.

Is forest green warm or cool?

Forest green sits between warm and cool, so it can lean either way depending on what it's paired with.

Should I use white or black text on forest green?

Use black text. Its contrast ratio on forest green is 4.78:1, versus 4.38:1 for white.

Similar colors

See all popular colors · All HTML color names · Open forest green in the color picker

Advertisement