Swatchproof

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 keywordforestgreen
HEX#228B22
RGBrgb(34 139 34)
HSLhsl(120 61% 34%)
OKLCHoklch(55.8% 0.169 142.9)
White text4.39:1 · body text AA Fail
Black text4.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.

ColourHEXContrast with Forest greenBody text AA
Black#1113144.24:1Fail
Lemon Yellow#F8ED433.59:1Fail
Nile Blue#BCE4E53.21:1Fail
Red Violet#59256A2.52:1Fail
Vinaceous Cinnamon#EEA78C2.20:1Fail
Vandyke Red#82241F2.15:1Fail
Violet#4F40861.99:1Fail
Orange#F374201.53:1Fail
Benzol Green#00978D1.21:1Fail
Scarlet#CB2F431.19:1Fail

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.

: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

Similar CSS colours