Forest green #228B22
Forest green is one of the named colours in CSS, written forestgreen. Black text reaches 4.78:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | forestgreen |
|---|---|
| HEX | #228B22 |
| RGB | rgb(34 139 34) |
| HSL | hsl(120 61% 34%) |
| OKLCH | oklch(55.8% 0.169 142.9) |
| White text | 4.39:1 · body text AA Fail |
| Black text | 4.78:1 · body text AA Pass |
Colours that go with Forest green
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Dull Viridian Green (#009465), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Forest green itself.
| Colour | HEX | Contrast with Forest green | Body text AA |
|---|---|---|---|
| Black | #111314 | 4.24:1 | Fail |
| Lemon Yellow | #F8ED43 | 3.59:1 | Fail |
| Nile Blue | #BCE4E5 | 3.21:1 | Fail |
| Red Violet | #59256A | 2.52:1 | Fail |
| Vinaceous Cinnamon | #EEA78C | 2.20:1 | Fail |
| Vandyke Red | #82241F | 2.15:1 | Fail |
| Violet | #4F4086 | 1.99:1 | Fail |
| Orange | #F37420 | 1.53:1 | Fail |
| Benzol Green | #00978D | 1.21:1 | Fail |
| Scarlet | #CB2F43 | 1.19:1 | Fail |
Palettes with Dull Viridian Green
Shades and tints of Forest green
Nine lightness steps in OKLCH that keep the hue of Forest green. Chroma is reduced only where sRGB cannot show it.
- 100#E1FFDF
- 200#A4FF9F
- 300#86E981
- 400#69CB65
- 500#48AB45
- 600#1F891F
- 700#006905
- 800#004902
- 900#002B01
:root {
--forestgreen-100: #E1FFDF;
--forestgreen-200: #A4FF9F;
--forestgreen-300: #86E981;
--forestgreen-400: #69CB65;
--forestgreen-500: #48AB45;
--forestgreen-600: #1F891F;
--forestgreen-700: #006905;
--forestgreen-800: #004902;
--forestgreen-900: #002B01;
}
Text that keeps Forest green on screen
Text #000000 on #228B22 reaches 4.78:1, which passes WCAG AA for body text. Check it on a dashboard