Skip to content

Forest Green (#228B22)

The hex code for Forest Green is #228B22. It is rgb(34, 139, 34) in RGB, hsl(120, 61%, 34%) in HSL, and about cmyk(76%, 0%, 76%, 45%) in CMYK — a dark green. Black text is the more readable choice on this background.

#228B22
HEX#228B22
RGBrgb(34, 139, 34)
HSLhsl(120, 61%, 34%)
HSVhsv(120, 76%, 55%)
CMYKcmyk(76%, 0%, 76%, 45%)
OKLCHoklch(55.8% 0.169 142.9)
LABlab(50.64% -45.72 44.03)
LCHlch(50.64% 63.47 136.08)

Colors Closest to Forest Green

Forest Green is a registered color name, also listed as Forest Green (Web). These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every green in the library.

#228B22 Channel Values

How Forest Green breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 34 · G 139 · B 348-bit channels as sent to the display
HSLH 120° · S 61% · L 34%Easiest model for building lighter and darker variants
HSVH 120° · S 76% · V 55%Matches the picker in most design tools
CMYKC 76% · M 0% · Y 76% · K 45%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.39:1 vs white · 4.78:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Forest Green background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text4.39:1AA normal AA large AAA normal
TextBlack text4.78:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #228B22 in the contrast checker.

Colors That Go With Forest Green

Pairings derived from color-wheel relationships. The complementary color sits opposite Forest Green; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Forest Green

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #228B22.

How Forest Green Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#228B22
Protanopia#808023
Protanomaly#678523
Deuteranopia#75752A
Deuteranomaly#5F7E27
Tritanopia#3D8383
Tritanomaly#34866A
Achromatopsia#787878

Test a full palette in the color blindness simulator.

Using #228B22 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--forest-green: #228B22;
CSS backgroundbackground-color: #228B22;
Tailwind configcolors: { 'forest-green': '#228B22' }
SwiftUIColor(red: 0.133, green: 0.545, blue: 0.133)
Android XML<color name="forest_green">#228B22</color>
SVG fillfill="#228B22"

More Green Colors

Forest Green sits in the green family. These are its neighbours across that family's full range, each with its own breakdown.

#228B22 Frequently Asked Questions

What is the hex code for Forest Green?

The hex code for Forest Green is #228B22. That is rgb(34, 139, 34) in RGB, hsl(120, 61%, 34%) in HSL, and approximately cmyk(76%, 0%, 76%, 45%) in CMYK.

What is the RGB value of #228B22?

#228B22 is rgb(34, 139, 34) — red 34, green 139, and blue 34 on the 0-255 scale.

What is the CMYK value of #228B22?

#228B22 converts to approximately cmyk(76%, 0%, 76%, 45%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #228B22 be black or white?

Black text is the more readable choice. #228B22 scores 4.39:1 against white and 4.78:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Is ForestGreen a CSS named color?

Yes. ForestGreen is one of the CSS named colors, so you can write color: forestgreen instead of the hex code.

Open Forest Green in a Tool

Keep exploring: every green in the color library, the guide to shades of green, or the full color library.