#1A7A20 Color Information

Hex color code: #1A7A20

A understated green shade, #1A7A20 appears as (26, 122, 32) in RGB and (124°, 65%, 29%) in HSL. It is widely used in graphic design.

Try:
Color NameGreen
HEX
#1A7A20
RGB
26, 122, 32
HSL
124°, 65%, 29%
CMYK
79%, 0%, 74%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1A7A20; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

26, 122, 32

Red: 26 / Green: 122 / Blue: 32

HSL

124°, 65%, 29%

Hue: 124° / Saturation: 65% / Lightness: 29%

CMYK

79%, 0%, 74%, 52%

Cyan: 79% / Magenta: 0% / Yellow: 74% / Key: 52%

What color is #1A7A20?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1A7A20 to RGB:

rgb(26, 122, 32)HEX to RGB Converter →

HEX to HSL

Convert #1A7A20 to HSL:

hsl(124, 65%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #1A7A20 to CMYK:

cmyk(79%, 0%, 74%, 52%)Color Converter →

Color Meaning and Usage

#1A7A20 is a balanced green color with RGB values of 26, 122, 32 and HSL of 124°, 65%, 29%. This green hue evokes nature and harmony, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1A7A20 is #7A1A74, creating high-contrast pairings. For softer combinations, try analogous colors like #447A1A.

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

Contrast with #1A7A20

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1A7A20?

#1A7A20 is a balanced green color - a green hue that evokes nature and harmony.

What is the RGB value of #1A7A20?

#1A7A20 in RGB is (26, 122, 32) - 26 red, 122 green, and 32 blue.

How to use #1A7A20 in CSS?

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

What colors go well with #1A7A20?

#7A1A74 (complementary), #447A1A (analogous), and #0C3B10 (lighter shade) work well with #1A7A20.