Forest Green color: hex code #228B22
Forest Green has the hex code #228B22. It is a dark, moderate green.
In the RGB color model it is made of 13.3% red, 54.5% green and 13.3% blue (34, 139, 34).
Its hue angle is 120°, with 61% saturation and 34% lightness. For print, the CMYK equivalent is 76% cyan, 0% magenta, 76% yellow and 45% black.
You can use it in CSS with the keyword forestgreen.
Black text is the more readable choice on this background (contrast 4.78:1).
Forest Green (#228B22) color codes
| HEX | #228B22 | |
|---|---|---|
| RGB | rgb(34, 139, 34) | |
| RGB percent | rgb(13.3%, 54.5%, 13.3%) | |
| HSL | hsl(120, 61%, 34%) | |
| HSV / HSB | hsv(120, 76%, 55%) | |
| CMYK | cmyk(76%, 0%, 76%, 45%) | |
| CIE LAB | lab(50.59, -49.59, 45.02) | |
| CIE LCH | lch(50.59, 66.97, 137.77) | |
| CIE XYZ | xyz(10.18, 18.92, 4.628) | |
| Decimal | 2263842 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Forest Green, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #228B22 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.78:1 | Pass | Fail | Pass |
| Sample text | 4.39:1 | Fail | Fail | Pass |
| #228B22 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.39:1 | Fail | Fail | Pass |
| Sample text | 4.78:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #228B22 looks to people with the most common types of color vision deficiency.
#8e7d0eProtanopia
no red cones#82752dDeuteranopia
no green cones#008777Tritanopia
no blue cones#787878Achromatopsia
no color vision
CSS examples
.background { background-color: #228b22; }
.text { color: #228b22; }
.border { border: 2px solid #228b22; }
.transparent { background-color: rgb(34 139 34 / 50%); }
.gradient { background: linear-gradient(to right, #228b22, #228b56); }
Similar colors
#118822Asian Spice#008811Lush Garden#008800Fine Pine#228800Green Bell Pepper#008f00Clover#428929La Palma#009000Maniac Green#3d8b37Resplendent Growth
See #228B22 on its hex code page
Questions
- What color is #228B22?
- #228B22 is a dark, moderate green known as Forest Green. It belongs to the green family of colors.
- What is the RGB value of Forest Green?
- The RGB value is 34, 139, 34: 34 red, 139 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of Forest Green?
- The complementary color is #8B228B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #228B22?
- Black text. Black text has a contrast ratio of 4.78:1 and white text 4.39:1. WCAG asks for at least 4.5:1 for normal text.