Forest Green Color Code (#228b22)

Forest Green is #228b22 in hex and rgb(34, 139, 34) — a dark green. Below: every color format, tints and shades, harmonies and how readable it is as text.

Updated

Forest Green
#228b22
CSS nameforestgreen
Hex#228b22
RGBrgb(34, 139, 34)
HSLhsl(120 61% 34%)
HWBhwb(120 13% 45%)
CMYK76%, 0%, 76%, 45%

Tints and shades

Color harmonies

About Forest Green

Forest Green (forestgreen) is a dark, vivid green with the hex code #228b22, or rgb(34, 139, 34). In HSL it sits at a hue of 120°, 61% saturation and 34% lightness. It is one of the 148 named colors every browser understands, so you can write color: forestgreen; instead of the hex value.

Using Forest Green for text and backgrounds

PairingContrast ratioWCAG
Forest Green text on white4.39 : 1AA large text only
Forest Green text on black4.78 : 1AA

On a forest green background, use black text (4.78 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.

CSS

.element {
  color: forestgreen;               /* or #228b22 */
  background-color: #228b22;
  border: 1px solid rgb(34 139 34 / 50%);
}

Similar named colors

Green (#008000), Sea Green (#2e8b57), Dark Olive Green (#556b2f), Dark Green (#006400), Lime Green (#32cd32), Olive Drab (#6b8e23).

Color Name FinderPaste a HEX code to get its closest human-readable name and clean token names for your CSS, SCSS, JavaScript or Tailwind config.
Open the tool

Frequently asked questions

What is the hex code for forest green?
#228b22 — that is rgb(34, 139, 34) and hsl(120, 61%, 34%). In CSS you can also just write forestgreen.
Is forest green text readable on white?
Its contrast ratio on white is 4.39 : 1, which passes only for large text (WCAG AA large).
What colors go well with forest green?
Its complementary color is #8c228c; analogous colors #578c22 and #228c57 sit next to it on the color wheel.