Add to Chrome

Forest green color: hex codes, shades and palettes

Palettes built around forest green. Click any swatch to copy its hex code.

Forest green is #228B22, deep green. Below are its shades with hex codes, the values in every common format, and forest green color palettes to copy.

Forest green hex, RGB, HSL and OKLCH

#228B22
HEX
#228B22
RGB
rgb(34, 139, 34)
HSL
hsl(120, 61%, 34%)
OKLCH
oklch(55.8% 0.169 142.9)
On white
4.39:1
On black
4.78:1

Shades of forest green

9 steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.

Forest green color values

#228B22rgb(34, 139, 34)
Color spaces of #228b22
RGB3413934
HSL120°61%34%
HSV120°76%55%
CMYK0.760.000.760.45
XYZ10.180418.91974.6284
Yxy18.91970.30180.5609
CIE-Lab50.5931-49.585445.0160
Hunter Lab43.4967-34.341324.1388
OKLCH55.8%0.169142.9°

#228B22 is 34 red, 139 green and 34 blue. Its green channel carries the most of it. The nearest of the 216 web safe colors is #339933.

CIE-Lab, XYZ and Yxy are measured against D65, the white point sRGB itself is defined against. Hunter Lab uses the original illuminant C constants, which is what paint and plastics specifications quote, so the two Lab rows are not directly comparable. CMYK is the plain arithmetic conversion: real ink values depend on the press, the paper and the profile.

Base numbers
BaseRedGreenBlue
Binary001000101000101100100010
Octal4221342
Decimal3413934
Hex228B22

#228b22 mixed with black

Ten even steps of the classic shade ramp, worked out in RGB, which is how the term has always been defined and how other references list it. The OKLCH scale further down this page answers a different question: it steps by equal perceived amounts, so its values are not the same.

  • #228B22
  • #1E7D1E
  • #1B6F1B
  • #176117
  • #145314
  • #114511
  • #0D370D
  • #0A290A
  • #061B06
  • #030D03
  • #000000

#228b22 mixed with white

The tint ramp, by the same rule in the other direction.

  • #228B22
  • #389638
  • #4EA24E
  • #64AD64
  • #7AB97A
  • #90C590
  • #A6D0A6
  • #BCDCBC
  • #D2E7D2
  • #E8F3E8
  • #FFFFFF

Channel shares

  • Red16.4%
  • Green67.1%
  • Blue16.4%

Color schemes

Turned in OKLCH rather than HSL, so every member keeps the lightness and chroma of the original instead of one of them arriving washed out.

Complementary

  • #228B22
  • #A14AAC

Triadic

  • #228B22
  • #3C6DD5
  • #C33E42

Analogous

  • #228B22
  • #00886E
  • #757B00

Monochromatic

  • #001C00
  • #003F02
  • #006504
  • #228B22
  • #4EB14B
  • #75D870
  • #A1FF9B

#228b22 on black and on white

The quick brown fox jumps over the lazy dog. 4.78:1

The quick brown fox jumps over the lazy dog. 4.39:1

Body text needs 4.5:1 to meet AA and large text needs 3:1, so a ratio tells you which of the two backgrounds this color can be read on, and at what size.

CSS for #228b22

color: #228b22;
background-color: #228b22;
border: 3px solid #228b22;
box-shadow: 1px 1px 3px 2px #228b22;
text-shadow: 4px 4px 2px rgba(34, 139, 34, 0.8);

/* Perceptually even, and what a modern stylesheet wants */
color: oklch(55.8% 0.169 142.9);

The OKLCH form is the same color stated so that lightening or darkening it moves by an amount the eye agrees with. Every current browser understands it.

Contrast and readability

Forest green on white measures 4.39:1 and on black 4.78:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 4.92:1.

The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.

Related colors: sage, pine, moss, juniper. See every shade on the colors index.

Get Palette Vault from the Microsoft Store