#166A1A Color Information

Hex color code: #166A1A

#166A1A is a balanced green color. In RGB it is (22, 106, 26), and in HSL it is (123°, 66%, 25%). It is frequently seen in web interfaces.

Try:
Color NameGreen
HEX
#166A1A
RGB
22, 106, 26
HSL
123°, 66%, 25%
CMYK
79%, 0%, 75%, 58%

Shades

CSS Usage
color: #166A1A;
background-color: #166A1A;
border-color: #166A1A;
box-shadow: 0 0 10px #166A1A;
border: 2px solid #166A1A;
Tailwind Usage
bg-[#166A1A]
text-[#166A1A]
border-[#166A1A]
shadow-[0_0_10px_166A1A]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #166A1A, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #166A1A; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #166A1A; 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 #166A1A; background-color: #166A1A15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #166A1A20; border-left: 4px solid #166A1A; }

Link / Accent

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

a { color: #166A1A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #166A1A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

22, 106, 26

Red: 22 / Green: 106 / Blue: 26

HSL

123°, 66%, 25%

Hue: 123° / Saturation: 66% / Lightness: 25%

CMYK

79%, 0%, 75%, 58%

Cyan: 79% / Magenta: 0% / Yellow: 75% / Key: 58%

What color is #166A1A?

#166A1A is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #166A1A to RGB:

rgb(22, 106, 26)HEX to RGB Converter →

HEX to HSL

Convert #166A1A to HSL:

hsl(123, 66%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #166A1A to CMYK:

cmyk(79%, 0%, 75%, 58%)Color Converter →

Color Meaning and Usage

#166A1A is a neutral green color with RGB values of 22, 106, 26 and HSL of 123°, 66%, 25%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #166A1A is #6A1666, creating high-contrast pairings. For softer combinations, try analogous colors like #3C6A16.

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

Contrast with #166A1A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #166A1A?

#166A1A is a neutral green color - a green hue that evokes nature and harmony.

What is the RGB value of #166A1A?

#166A1A in RGB is (22, 106, 26) - 22 red, 106 green, and 26 blue.

How to use #166A1A in CSS?

Use #166A1A directly in your CSS properties like color or background-color.

What colors go well with #166A1A?

#6A1666 (complementary), #3C6A16 (analogous), and #092A0A (lighter shade) work well with #166A1A.