Forest Green color #228B22
rgb(34, 139, 34) · oklch(55.8% 0.169 142.9)
Forest Green (#228B22) is a medium, vivid, cool green. It mixes 13% red, 55% green and 13% blue, with a perceived lightness of 55.8% in OKLCH. Black text reads best on it (4.78:1 vs 4.38:1). The closest other CSS color is Green (#008000). For people with protanopia it shifts the most, toward #8E7D0E.
Forest Green color codes
| HEX | |
|---|---|
| RGB | |
| HSL | |
| HSV / HSB | |
| OKLCH | |
| CMYK | |
| CSS keyword |
Click a value to copy it. Convert any other color with the color converter.
Shades, tints and tones of forest green
Shades mix forest green with black, tints mix it with white, and tones mix it with gray. Mixing happens in OKLab, so the steps look evenly spaced.
Tints (lighter)
Shades (darker)
Tones (muted)
Forest Green as a UI color scale (50–950)
An 11-step scale for design systems, with forest green placed at step 600. Copy it as a Tailwind v4 theme below.
Colors that go with forest green
Harmonies are computed on the OKLCH hue wheel, keeping forest green’s lightness and saturation where the sRGB gamut allows. Open any row in the palette generator to adjust it.
Complementary
EditThe base color and the hue directly opposite it. Maximum contrast; use one as the accent.
Split complementary
EditThe base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.
Tetradic (rectangle)
EditTwo complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.
Is forest green accessible? Contrast with white and black
4.38:1
AA fail AA large pass AAA fail
4.78:1
AA pass AA large pass AAA fail
- As a background, forest green works best with black text.
- For body text on white, use the darker variant (the closest color that passes AA, 4.5:1).
How forest green looks with color blindness
Simulated with the Machado et al. (2009) model. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency.
#8e7d0e Red-blind. Reds look dark and brownish; red and green are easily confused.
#82752d Green-blind, the most common strong form. Red, green, orange and brown look similar.
#008777 Blue-blind and rare. Blue and green are confused, as are yellow and pink.
#787878 Total color blindness, very rare. Only lightness differences are visible.
Colors similar to forest green
The closest CSS named colors by perceptual distance (ΔE OK; under 2 is hard to tell apart).
Use forest green in CSS and Tailwind
CSS custom properties
:root {
--forestgreen: #228b22;
--forestgreen-rgb: 34 139 34;
}
.text-forestgreen { color: var(--forestgreen); }
.bg-forestgreen { background-color: var(--forestgreen); }
Tailwind v4 theme
@theme {
--color-forestgreen-50: #f5f8f5;
--color-forestgreen-100: #e4f1e3;
--color-forestgreen-200: #b7ebb3;
--color-forestgreen-300: #78dc73;
--color-forestgreen-400: #47be45;
--color-forestgreen-500: #29a129;
--color-forestgreen-600: #228b22;
--color-forestgreen-700: #216920;
--color-forestgreen-800: #225120;
--color-forestgreen-900: #1e3e1d;
--color-forestgreen-950: #132412;
}
Make a gradient from forest green: open the gradient generator.
Painting in Procreate or designing in Photoshop? See our palette packs: every color with HEX codes is free to browse, and the swatch files are a quick download.