#12821F Color Information

Hex color code: #12821F

#12821F is a vivid green color. In RGB it is (18, 130, 31), and in HSL it is (127°, 76%, 29%). It is frequently seen in web interfaces.

Try:
Color NameGreen
HEX
#12821F
RGB
18, 130, 31
HSL
127°, 76%, 29%
CMYK
86%, 0%, 76%, 49%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #12821F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #12821F; 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 #12821F; background-color: #12821F15; }

Alert / Toast

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

Link / Accent

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

a { color: #12821F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 130, 31

Red: 18 / Green: 130 / Blue: 31

HSL

127°, 76%, 29%

Hue: 127° / Saturation: 76% / Lightness: 29%

CMYK

86%, 0%, 76%, 49%

Cyan: 86% / Magenta: 0% / Yellow: 76% / Key: 49%

What color is #12821F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #12821F to RGB:

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

HEX to HSL

Convert #12821F to HSL:

hsl(127, 76%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #12821F to CMYK:

cmyk(86%, 0%, 76%, 49%)Color Converter →

Color Meaning and Usage

#12821F is a dynamic green color with RGB values of 18, 130, 31 and HSL of 127°, 76%, 29%. 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 #12821F is #821275, creating high-contrast pairings. For softer combinations, try analogous colors like #3D8212.

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

Contrast with #12821F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #12821F?

#12821F is a dynamic green color - a green hue that evokes nature and harmony.

What is the RGB value of #12821F?

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

How to use #12821F in CSS?

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

What colors go well with #12821F?

#821275 (complementary), #3D8212 (analogous), and #093F0F (lighter shade) work well with #12821F.