#12971F Color Information

Hex color code: #12971F

The hex color #12971F is a eye-catching green with RGB values of (18, 151, 31) and HSL of (126°, 79%, 33%). It is widely used in graphic design.

Try:
Color NameGreen
HEX
#12971F
RGB
18, 151, 31
HSL
126°, 79%, 33%
CMYK
88%, 0%, 79%, 41%

Shades

CSS Usage
color: #12971F;
background-color: #12971F;
border-color: #12971F;
box-shadow: 0 0 10px #12971F;
border: 2px solid #12971F;
Tailwind Usage
bg-[#12971F]
text-[#12971F]
border-[#12971F]
shadow-[0_0_10px_12971F]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #12971F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #12971F; color: #000000; }

Badge

New Feature
.badge { background-color: #12971F; color: #000000; }

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 #12971F; background-color: #12971F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #12971F20; border-left: 4px solid #12971F; }

Link / Accent

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

a { color: #12971F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #12971F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 151, 31

Red: 18 / Green: 151 / Blue: 31

HSL

126°, 79%, 33%

Hue: 126° / Saturation: 79% / Lightness: 33%

CMYK

88%, 0%, 79%, 41%

Cyan: 88% / Magenta: 0% / Yellow: 79% / Key: 41%

What color is #12971F?

#12971F is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #12971F to RGB:

rgb(18, 151, 31)HEX to RGB Converter →

HEX to HSL

Convert #12971F to HSL:

hsl(126, 79%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #12971F to CMYK:

cmyk(88%, 0%, 79%, 41%)Color Converter →

Color Meaning and Usage

A vivid green tone, #12971F has RGB (18, 151, 31) and HSL (126°, 79%, 33%). Known for evoking nature and harmony, this green hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #12971F is #971289, creating high-contrast pairings. For softer combinations, try analogous colors like #479712.

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

Contrast with #12971F

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

Contrast Ratio: 5.47:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #12971F?

#12971F is a vivid green color - a green hue that evokes nature and harmony.

What is the RGB value of #12971F?

#12971F in RGB is (18, 151, 31) - 18 red, 151 green, and 31 blue.

How to use #12971F in CSS?

Use #12971F directly in your CSS properties like color or background-color.

What colors go well with #12971F?

#971289 (complementary), #479712 (analogous), and #0A5211 (lighter shade) work well with #12971F.