#166C0F Color Information

Hex color code: #166C0F

A deep green shade, #166C0F appears as (22, 108, 15) in RGB and (115°, 76%, 24%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameGreen
HEX
#166C0F
RGB
22, 108, 15
HSL
115°, 76%, 24%
CMYK
80%, 0%, 86%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #166C0F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

22, 108, 15

Red: 22 / Green: 108 / Blue: 15

HSL

115°, 76%, 24%

Hue: 115° / Saturation: 76% / Lightness: 24%

CMYK

80%, 0%, 86%, 58%

Cyan: 80% / Magenta: 0% / Yellow: 86% / Key: 58%

What color is #166C0F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #166C0F to RGB:

rgb(22, 108, 15)HEX to RGB Converter →

HEX to HSL

Convert #166C0F to HSL:

hsl(115, 76%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #166C0F to CMYK:

cmyk(80%, 0%, 86%, 58%)Color Converter →

Color Meaning and Usage

#166C0F is a dark green color with RGB values of 22, 108, 15 and HSL of 115°, 76%, 24%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #166C0F is #640F6C, creating high-contrast pairings. For softer combinations, try analogous colors like #456C0F.

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

Contrast with #166C0F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #166C0F?

#166C0F is a dark green color - a green hue that evokes nature and harmony.

What is the RGB value of #166C0F?

#166C0F in RGB is (22, 108, 15) - 22 red, 108 green, and 15 blue.

How to use #166C0F in CSS?

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

What colors go well with #166C0F?

#640F6C (complementary), #456C0F (analogous), and #082806 (lighter shade) work well with #166C0F.