#1A511C Color Information

Hex color code: #1A511C

#1A511C is a rich green color. In RGB it is (26, 81, 28), and in HSL it is (122°, 51%, 21%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#1A511C
RGB
26, 81, 28
HSL
122°, 51%, 21%
CMYK
68%, 0%, 65%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1A511C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

26, 81, 28

Red: 26 / Green: 81 / Blue: 28

HSL

122°, 51%, 21%

Hue: 122° / Saturation: 51% / Lightness: 21%

CMYK

68%, 0%, 65%, 68%

Cyan: 68% / Magenta: 0% / Yellow: 65% / Key: 68%

What color is #1A511C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1A511C to RGB:

rgb(26, 81, 28)HEX to RGB Converter →

HEX to HSL

Convert #1A511C to HSL:

hsl(122, 51%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #1A511C to CMYK:

cmyk(68%, 0%, 65%, 68%)Color Converter →

Color Meaning and Usage

A rich green tone, #1A511C has RGB (26, 81, 28) and HSL (122°, 51%, 21%). Known for evoking nature and harmony, this green hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1A511C is #511A4F, creating high-contrast pairings. For softer combinations, try analogous colors like #34511A.

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

Contrast with #1A511C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1A511C?

#1A511C is a rich green color - a green hue that evokes nature and harmony.

What is the RGB value of #1A511C?

#1A511C in RGB is (26, 81, 28) - 26 red, 81 green, and 28 blue.

How to use #1A511C in CSS?

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

What colors go well with #1A511C?

#511A4F (complementary), #34511A (analogous), and #071708 (lighter shade) work well with #1A511C.