EN

Forest Green Color #228B22

Forest Green · #228B22

Forest Green color codes

HEX#228B22
RGBrgb(34, 139, 34)
HSLhsl(120, 60.7%, 33.9%)
HSVhsv(120, 75.5%, 54.5%)
OKLCHoklch(0.558 0.169 142.9)
CSS--forest-green: #228B22;

Black text is the readable choice on Forest Green: 4.78:1.

About the name forest green

Represents the average color of leaves in a temperate deciduous forest; first recorded as an English color name in 1810. (Wikipedia)

Forest Green is a CSS named color: you can write forestgreen instead of #228B22 in any stylesheet.

Forest Green shades and tints

Click a swatch to copy it. The middle swatch is the base color; steps are even in OKLCH lightness.

Colors that go with forest green

Complementary#8B228BWhat are complementary colors?
Analogous#568B22 · #228B56What are analogous colors?
Split complementary#56228B · #8B2256What are split complementary colors?
Triadic#22228B · #8B2222What are triadic colors?

Text contrast on forest green

Aa Forest GreenOn white: 4.38:1AA Fail
Aa Forest GreenOn black: 4.78:1AA Pass
Aa Black text4.78:1AA Pass

Check other pairs in the contrast checker

Forest Green color palettes

Complementary palette
Analogous palette
Monochromatic palette
Triadic palette

Forest Green gradients

background: linear-gradient(135deg, #AFD7AC 0%, #228B22 100%);
background: linear-gradient(90deg, #228B22 0%, #228B56 100%);
background: linear-gradient(135deg, #228B22 0%, #8B228B 100%);

Forest Green in CSS

:root {
  --forest-green: #228B22;
  --forest-green-rgb: 34, 139, 34;
}

.button {
  background: var(--forest-green);
  color: #000000; /* 4.78:1 */
}

Tailwind: bg-[#228B22] · text-[#228B22]

Colors similar to forest green

All shades of green →

Frequently asked questions

What is the hex code for forest green?

Forest Green is #228B22 (the CSS color name forestgreen). In RGB it is rgb(34, 139, 34) and in HSL hsl(120, 60.7%, 33.9%).

What colors go with forest green?

On the color wheel, forest green (#228B22) pairs with its complement #8B228B, its analogous colors #568B22 and #228B56, and the triadic colors #22228B and #8B2222. Lighter tints and darker shades of forest green itself also make an easy monochromatic scheme.

What text color works on forest green?

Black text is the readable choice on Forest Green: 4.78:1. Forest Green text on white is 4.38:1 (fails WCAG AA for normal text) and on black 4.78:1 (passes).

What is the RGB value of forest green?

Forest Green (#228B22) is red 34, green 139 and blue 34: rgb(34, 139, 34).

Sources

  • W3C, CSS Color Module Level 4: named colors
  • Wikipedia, Forest green (revision 1381528572); text adapted under CC BY-SA 4.0
  • Cross-checked: Wikipedia 'List of colors: A–F' (rev 1386167169), entry 'Forest green (web)'
  • RGB, HSL, OKLCH, shades, harmonies and contrast are computed with SwatchNest's tested color library. Updated 2026-11-24