#198212 Color Information

Hex color code: #198212

The hex color #198212 is a striking green with RGB values of (25, 130, 18) and HSL of (116°, 76%, 29%). It is often used for branding and logos.

Try:
Color NameGreen
HEX
#198212
RGB
25, 130, 18
HSL
116°, 76%, 29%
CMYK
81%, 0%, 86%, 49%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #198212; 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 #198212; background-color: #19821215; }

Alert / Toast

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

Link / Accent

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

a { color: #198212; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #198212 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

25, 130, 18

Red: 25 / Green: 130 / Blue: 18

HSL

116°, 76%, 29%

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

CMYK

81%, 0%, 86%, 49%

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

What color is #198212?

#198212 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #198212 to RGB:

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

HEX to HSL

Convert #198212 to HSL:

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

HEX to CMYK

Convert #198212 to CMYK:

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

Color Meaning and Usage

A striking green tone, #198212 has RGB (25, 130, 18) and HSL (116°, 76%, 29%). Known for evoking nature and harmony, this green hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #198212 is #7B1282, creating high-contrast pairings. For softer combinations, try analogous colors like #518212.

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

Contrast with #198212

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 #198212?

#198212 is a striking green color - a green hue that evokes nature and harmony.

What is the RGB value of #198212?

#198212 in RGB is (25, 130, 18) - 25 red, 130 green, and 18 blue.

How to use #198212 in CSS?

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

What colors go well with #198212?

#7B1282 (complementary), #518212 (analogous), and #0C3F09 (lighter shade) work well with #198212.