#227C22 Color Information

Hex color code: #227C22

A subtle green shade, #227C22 appears as (34, 124, 34) in RGB and (120°, 57%, 31%) in HSL. It is often used for branding and logos.

Try:
Color NameGreen
HEX
#227C22
RGB
34, 124, 34
HSL
120°, 57%, 31%
CMYK
73%, 0%, 73%, 51%

Shades

CSS Usage
color: #227C22;
background-color: #227C22;
border-color: #227C22;
box-shadow: 0 0 10px #227C22;
border: 2px solid #227C22;
Tailwind Usage
bg-[#227C22]
text-[#227C22]
border-[#227C22]
shadow-[0_0_10px_227C22]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #227C22, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #227C22; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #227C22; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #227C22; background-color: #227C2215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #227C2220; border-left: 4px solid #227C22; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #227C22; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #227C22 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

34, 124, 34

Red: 34 / Green: 124 / Blue: 34

HSL

120°, 57%, 31%

Hue: 120° / Saturation: 57% / Lightness: 31%

CMYK

73%, 0%, 73%, 51%

Cyan: 73% / Magenta: 0% / Yellow: 73% / Key: 51%

What color is #227C22?

#227C22 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #227C22 to RGB:

rgb(34, 124, 34)HEX to RGB Converter →

HEX to HSL

Convert #227C22 to HSL:

hsl(120, 57%, 31%)RGB to HSL Converter →

HEX to CMYK

Convert #227C22 to CMYK:

cmyk(73%, 0%, 73%, 51%)Color Converter →

Color Meaning and Usage

A neutral green tone, #227C22 has RGB (34, 124, 34) and HSL (120°, 57%, 31%). Known for evoking nature and harmony, this green hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #227C22 is #7C227C, creating high-contrast pairings. For softer combinations, try analogous colors like #4F7C22.

Use #227C22 in CSS: color: #227C22 or background-color: #227C22. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #227C22

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 3.97:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #227C22?

#227C22 is a neutral green color - a green hue that evokes nature and harmony.

What is the RGB value of #227C22?

#227C22 in RGB is (34, 124, 34) - 34 red, 124 green, and 34 blue.

How to use #227C22 in CSS?

Use #227C22 directly in your CSS properties like color or background-color.

What colors go well with #227C22?

#7C227C (complementary), #4F7C22 (analogous), and #124012 (lighter shade) work well with #227C22.