Skip to main content
matte

#228B22

forestgreen

#228B22 is the CSS named color "forestgreen", an exact match. In RGB it breaks down to red 34, green 139, and blue 34 out of 255 each. In HSL terms that's a hue of 120°, 61% saturation, and 34% lightness: quite dark, close to black — it works well as body text on a light background or as a near-black UI surface.

Every format

HEX#228b22
RGBrgb(34, 139, 34)
HSLhsl(120° 61% 34%)
HSBhsb(120° 76% 55%)
OKLCHoklch(56% 0.169 143°)
OKLABoklab(56% -0.135 0.102)
LCHlch(51% 63.5 136°)
CMYKcmyk(76% 0% 76% 45%)

Shades (darker)

#228b22 · #097d0e · #007000 · #006300 · #005500

Tints (lighter)

#228b22 · #349932 · #43a740 · #52b54f · #61c35d

Shades mix #228B22 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.

On white: 4.39:1 — AA (large text only)
On black: 4.78:1 — AA

Frequently asked

What is #228B22 in RGB?
#228B22 is rgb(34, 139, 34) — red 34, green 139, blue 34 out of 255 each.
Does #228B22 pass WCAG contrast on a white background?
It has a contrast ratio of 4.39:1 against white, which passes WCAG AA (large text only) for normal text.
What's a good background color to pair with #228B22?
Black text or a black background gives better contrast (4.78:1) than white (4.39:1).

Related colors

Full color tools