Green color · CSS named color

Forest Green Color Code: #228B22

The HEX code for Forest Green is #228B22. It is a medium-dark, rich green color made of 34 red, 139 green and 34 blue (HSL 120°, 61%, 34%). Black text reads best on it (4.78:1 contrast).

Forest Green color values

HEX #228B22
RGB rgb(34, 139, 34)
HSL hsl(120, 61%, 34%)
HSV 120, 76%, 55%
HWB hwb(120 13% 45%)
CMYK 76%, 0%, 76%, 45%
Decimal 2263842
CSS keyword forestgreen
34%HSL lightness (medium-dark)
61%HSL saturation (rich)
120°Hue angle (green)
0.189Relative luminance

CMYK is a standard screen-to-print conversion. Printed results depend on inks, paper and color profiles.

What is Forest Green?

Forest Green is one of the named colors defined by the CSS Color specifications (keyword “forestgreen”), so every modern browser understands it without a hex code.

Its hue angle of 120° places it in the green part of the color wheel, with 61% saturation (rich) and 34% lightness (medium-dark). It sits between warm and cool.

Compared with the other green colors in the Aqeeb Studio library, it is lighter than 20% of them and more saturated than 33% of them.

Its relative luminance is 0.189, which makes it a mid-tone color. That is above the 0.179 crossover point at which black and white text have equal contrast, so black text has the advantage.

Forest Green counts as a light color: its HSL lightness is 34% and its relative luminance is 0.189. Black text reads best on it (4.78:1 contrast).

Text contrast on Forest Green

WCAG contrast of white and black text on Forest Green
TextPreviewRatioAA normalAA largeAAA normalAAA large
White text Sample text 4.38:1 Limited Fail Pass Fail Fail
Black text Sample text 4.78:1 Good Pass Pass Fail Pass

Ratios use the WCAG 2 formula and are truncated, never rounded up. Test any pair with the contrast checker.

Colors that go with Forest Green

Complementary color

Complementary colors sit directly opposite each other on the color wheel (180° apart). They give the strongest hue contrast, which suits calls to action and accents.

Analogous colors

Analogous colors are neighbors on the wheel, 30° either side of the base hue. They blend smoothly and are easy to combine in backgrounds, gradients and illustrations.

Triadic colors

A triadic scheme uses three hues spaced 120° apart. It is lively yet balanced, and works best when one color leads and the other two act as accents.

Split-complementary colors

Split-complementary keeps the base color and uses the two colors on either side of its complement (150° and 210°). The contrast is strong but gentler than a direct complement.

Tetradic colors

A tetradic (rectangle) scheme combines two complementary pairs at 0°, 60°, 180° and 240°. It offers variety but needs one dominant color to stay balanced.

Monochromatic variants

Monochromatic variants keep the same hue and saturation and only change lightness, which makes them dependable for UI scales and subtle layered designs.

#061906#061906
#145214#145214
#228B22#228B22
#30C530#30C530
#63D963#63D963

A “≈” before a name means the exact harmony color has no named match, so the link goes to the closest named color.

Tints and shades of Forest Green

Lighter tints (mixed with white)

Darker shades (mixed with black)

Select any swatch to copy its HEX code. Build longer scales with the tints and shades tool.

Where to use Forest Green

  • Card, highlight and section backgrounds with dark text (4.78:1 contrast with black)
  • Large headings, icons and graphics, where a 3:1 contrast ratio is enough
  • Calm backgrounds and section fills
  • Success and confirmation states (with a label or icon)
  • Eco, health and finance-style branding
  • Charts, maps and nature illustrations

Forest Green appears in these curated palettes: Forest (Green Color Palettes), Citrus (Vibrant Color Palettes).

Use Forest Green in CSS

:root {
  --color-forest-green: #228B22;
}

.element {
  color: var(--color-forest-green);
  background-color: #228B22;
  border: 2px solid #228B22;
}

Questions about Forest Green

What is the HEX code for Forest Green?

Forest Green is #228B22.

What is the RGB value of Forest Green?

The RGB value of Forest Green is 34, 139, 34: 34 red, 139 green and 34 blue on a 0–255 scale, written rgb(34, 139, 34) in CSS.

What is the HSL value of Forest Green?

The HSL value of Forest Green is 120°, 61%, 34% (hue, saturation, lightness), written hsl(120, 61%, 34%) in CSS.

What is the CMYK value of Forest Green?

A standard conversion gives about C 76%, M 0%, Y 76%, K 45%. Real print results depend on the inks, paper and color profile, so treat CMYK here as a reference value.

Is Forest Green a light or dark color?

Forest Green counts as a light color: its HSL lightness is 34% and its relative luminance is 0.189. Black text reads best on it (4.78:1 contrast).

How does Forest Green look with white text?

White text on Forest Green has a contrast ratio of 4.38:1, rated Limited. It does not reach WCAG AA for normal text; use large text only.

How does Forest Green look with black text?

Black text on Forest Green has a contrast ratio of 4.78:1, rated Good. It meets WCAG AA for normal text.

What colors go well with Forest Green?

Warm Purple is its complementary color, and Sap Green sits beside it as an analogous color. Lighter and darker variants of the same hue also work well for monochromatic palettes.

Where can Forest Green be used?

It suits card, highlight and section backgrounds with dark text (4.78:1 contrast with black); large headings, icons and graphics, where a 3:1 contrast ratio is enough; calm backgrounds and section fills.

How do I use Forest Green in CSS?

Use color: #228B22; for text, background-color: #228B22; for fills, or define a custom property such as --color-forest-green: #228B22; and reuse it with var(--color-forest-green).

About this color page

CSS named color (W3C CSS Color Module). Values are calculated from the HEX code; color names are labels, not trademarks or standards unless stated. Screens render colors differently, so always check important colors on your own device. See the disclaimer.