#228B22

#228B22 is the hex color ForestGreen. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #228B22; the exact match is ForestGreen.

Open #228B22 in the picker

#228B22 color codes

HEX
#228B22
HEX8
#228B22FF
HEX8 (Android)
#FF228B22
RGB
rgb(34, 139, 34)
RGB (%)
13%, 55%, 13%
HSL
hsl(120, 61%, 34%)
HSV / HSB
hsv(120, 76%, 55%)
CMYK
cmyk(76%, 0%, 76%, 45%)
OKLCH
oklch(0.5578 0.1688 142.89)
OKLCH (%)
oklch(55.78% 0.1688 142.89)
Decimal
2263842

What color is #228B22?

#228B22 sits at 56% lightness and 0.1688 chroma in OKLCH, hue 142.89°. Its nearest named color is ForestGreen (an exact match).

Shades and tints of #228B22

Tints

Shades

Tones

#228B22 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #228B22 in CSS

.text       { color: #228B22; }
.background { background-color: #228B22; }
.border     { border: 2px solid #228B22; }

/* Modern, perceptually uniform */
.text { color: oklch(0.5578 0.1688 142.89); }

/* #228B22 at 50% transparency */
.overlay { background-color: #228B2280; }

Is #228B22 accessible?

#228B22 on white text scores 4.39:1; on black text it scores 4.78:1. Black text passes WCAG AA for normal text on #228B22. Recommended text color on a #228B22 background: black.

A 4.78:1 vs black
A 4.39:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Fail
  • AAA large ≥ 4.5 Pass

Recommended text color: black

CSS contrast-color() contrast-color(#228B22) → black
APCA Lc experimental 75.4 Lc · body text (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Green #008000. See more in the green family on the colors hub.

Frequently asked questions

What color is #228B22?
#228B22 is ForestGreen. In RGB it is rgb(34, 139, 34), and in HSL hsl(120, 61%, 34%).
What is #228B22 in RGB?
#228B22 converts to rgb(34, 139, 34) — red 34, green 139, blue 34.
What text color is readable on #228B22?
Black text — it has the higher contrast ratio (4.78:1) against #228B22. Black text passes WCAG AA for normal text on #228B22.
Open #228B22 in the picker