#1C7D22 Color Information

Hex color code: #1C7D22

The hex color #1C7D22 is a balanced green with RGB values of (28, 125, 34) and HSL of (124°, 63%, 30%). It is often used for branding and logos.

Try:
Color NameGreen
HEX
#1C7D22
RGB
28, 125, 34
HSL
124°, 63%, 30%
CMYK
78%, 0%, 73%, 51%

Shades

CSS Usage
color: #1C7D22;
background-color: #1C7D22;
border-color: #1C7D22;
box-shadow: 0 0 10px #1C7D22;
border: 2px solid #1C7D22;
Tailwind Usage
bg-[#1C7D22]
text-[#1C7D22]
border-[#1C7D22]
shadow-[0_0_10px_1C7D22]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1C7D22, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1C7D22; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #1C7D22; 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 #1C7D22; background-color: #1C7D2215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1C7D2220; border-left: 4px solid #1C7D22; }

Link / Accent

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

a { color: #1C7D22; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1C7D22 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

28, 125, 34

Red: 28 / Green: 125 / Blue: 34

HSL

124°, 63%, 30%

Hue: 124° / Saturation: 63% / Lightness: 30%

CMYK

78%, 0%, 73%, 51%

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

What color is #1C7D22?

#1C7D22 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1C7D22 to RGB:

rgb(28, 125, 34)HEX to RGB Converter →

HEX to HSL

Convert #1C7D22 to HSL:

hsl(124, 63%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #1C7D22 to CMYK:

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

Color Meaning and Usage

A neutral green tone, #1C7D22 has RGB (28, 125, 34) and HSL (124°, 63%, 30%). Known for evoking nature and harmony, this green hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1C7D22 is #7D1C76, creating high-contrast pairings. For softer combinations, try analogous colors like #467D1C.

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

Contrast with #1C7D22

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1C7D22?

#1C7D22 is a neutral green color - a green hue that evokes nature and harmony.

What is the RGB value of #1C7D22?

#1C7D22 in RGB is (28, 125, 34) - 28 red, 125 green, and 34 blue.

How to use #1C7D22 in CSS?

Use #1C7D22 directly in your CSS properties like color or background-color.

What colors go well with #1C7D22?

#7D1C76 (complementary), #467D1C (analogous), and #0E3E11 (lighter shade) work well with #1C7D22.