#166A1B Color Information

Hex color code: #166A1B

#166A1B is a subtle green color. In RGB it is (22, 106, 27), and in HSL it is (124°, 66%, 25%). It is popular in mobile app design.

Try:
Color NameGreen
HEX
#166A1B
RGB
22, 106, 27
HSL
124°, 66%, 25%
CMYK
79%, 0%, 75%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #166A1B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

22, 106, 27

Red: 22 / Green: 106 / Blue: 27

HSL

124°, 66%, 25%

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

CMYK

79%, 0%, 75%, 58%

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

What color is #166A1B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #166A1B to RGB:

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

HEX to HSL

Convert #166A1B to HSL:

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

HEX to CMYK

Convert #166A1B to CMYK:

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

Color Meaning and Usage

#166A1B is a understated green color with RGB values of 22, 106, 27 and HSL of 124°, 66%, 25%. This green hue evokes nature and harmony, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #166A1B is #6A1664, creating high-contrast pairings. For softer combinations, try analogous colors like #3A6A16.

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

Contrast with #166A1B

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 #166A1B?

#166A1B is a understated green color - a green hue that evokes nature and harmony.

What is the RGB value of #166A1B?

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

How to use #166A1B in CSS?

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

What colors go well with #166A1B?

#6A1664 (complementary), #3A6A16 (analogous), and #092A0B (lighter shade) work well with #166A1B.