#227722 color

#227722 is rgb(34, 119, 34) in RGB and hsl(120, 56%, 30%) in HSL. The closest CSS named color is green (#008000, ΔE 4.6). Use white text on it (contrast 5.63:1).

#227722green
HEX#227722
Short HEX#272
RGBrgb(34, 119, 34)
RGB percentrgb(13.3%, 46.7%, 13.3%)
HSLhsl(120, 56%, 30%)
HSV / HSBhsv(120, 71%, 47%)
CMYKcmyk(71%, 0%, 71%, 53%)

Edit in the color converter → · Check contrast → · Shades →

About #227722

#227722 is a medium-dark, saturated green with a hue angle of 120°. It belongs to the green family and reads as a cool color. In the RGB model green is the strongest channel at 119 (47%) and red the weakest at 34 (13%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#227722
Short HEX#272
RGBrgb(34, 119, 34)
RGB percentrgb(13.3%, 46.7%, 13.3%)
HSLhsl(120, 56%, 30%)
HSV / HSBhsv(120, 71%, 47%)
CMYKcmyk(71%, 0%, 71%, 53%)
CIELAB (D65)lab(43.7 -42.5 37.9)
Decimal2258722
Binary00100010 01110111 00100010

HEX 22 77 22 → 34, 119, 34 (each pair is a base-16 number: 2×16 + 2 = 34)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #227722

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #227722RatioAA normalAA largeAAA normalAAA large
White text5.63:1PassPassFailPass
Black text3.73:1FailPassFailFail
White text on #227722
Black text on #227722
#227722 text on white
#227722 text on black

Relative luminance is 0.1365 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#7a6b16

Deuteranopia
#70652a

Tritanopia
#0a7366

Achromatopsia
#676767

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 20.2). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
green#0080004.6
darkgreen#0064006.8
forestgreen#228b227.2
darkolivegreen#556b2f9.9

Nearby colors

CSS

.element {
  color: #227722;
  background-color: rgb(34, 119, 34);
  border: 1px solid hsl(120, 56%, 30%);
  box-shadow: 0 2px 8px rgb(34 119 34 / 50%);
}
:root { --brand: #227722; }

Frequently asked questions

What color is #227722?
A medium-dark saturated green in the green family. Closest CSS name: green.
What is #227722 in RGB?
rgb(34, 119, 34): red 34, green 119, blue 34.
What is the complementary color of #227722?
#772277, found by rotating the hue 180°.