#12872C Color Information

Hex color code: #12872C

A bold green shade, #12872C appears as (18, 135, 44) in RGB and (133°, 76%, 30%) in HSL. It is often used for branding and logos.

Try:
Color NameGreen
HEX
#12872C
RGB
18, 135, 44
HSL
133°, 76%, 30%
CMYK
87%, 0%, 67%, 47%

Shades

CSS Usage
color: #12872C;
background-color: #12872C;
border-color: #12872C;
box-shadow: 0 0 10px #12872C;
border: 2px solid #12872C;
Tailwind Usage
bg-[#12872C]
text-[#12872C]
border-[#12872C]
shadow-[0_0_10px_12872C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #12872C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #12872C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #12872C; 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 #12872C; background-color: #12872C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #12872C20; border-left: 4px solid #12872C; }

Link / Accent

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

a { color: #12872C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #12872C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 135, 44

Red: 18 / Green: 135 / Blue: 44

HSL

133°, 76%, 30%

Hue: 133° / Saturation: 76% / Lightness: 30%

CMYK

87%, 0%, 67%, 47%

Cyan: 87% / Magenta: 0% / Yellow: 67% / Key: 47%

What color is #12872C?

#12872C is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #12872C to RGB:

rgb(18, 135, 44)HEX to RGB Converter →

HEX to HSL

Convert #12872C to HSL:

hsl(133, 76%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #12872C to CMYK:

cmyk(87%, 0%, 67%, 47%)Color Converter →

Color Meaning and Usage

#12872C is a bold green color with RGB values of 18, 135, 44 and HSL of 133°, 76%, 30%. This green hue evokes nature and harmony, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #12872C is #87126D, creating high-contrast pairings. For softer combinations, try analogous colors like #338712.

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

Contrast with #12872C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #12872C?

#12872C is a bold green color - a green hue that evokes nature and harmony.

What is the RGB value of #12872C?

#12872C in RGB is (18, 135, 44) - 18 red, 135 green, and 44 blue.

How to use #12872C in CSS?

Use #12872C directly in your CSS properties like color or background-color.

What colors go well with #12872C?

#87126D (complementary), #338712 (analogous), and #094316 (lighter shade) work well with #12872C.