#21AB1C Color Information

Hex color code: #21AB1C

#21AB1C is a bold green color. In RGB it is (33, 171, 28), and in HSL it is (118°, 72%, 39%). It is frequently seen in web interfaces.

Try:
Color NameGreen
HEX
#21AB1C
RGB
33, 171, 28
HSL
118°, 72%, 39%
CMYK
81%, 0%, 84%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #21AB1C; color: #000000; }

Badge

New Feature
.badge { background-color: #21AB1C; 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 #21AB1C; background-color: #21AB1C15; }

Alert / Toast

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

Link / Accent

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

a { color: #21AB1C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #21AB1C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

33, 171, 28

Red: 33 / Green: 171 / Blue: 28

HSL

118°, 72%, 39%

Hue: 118° / Saturation: 72% / Lightness: 39%

CMYK

81%, 0%, 84%, 33%

Cyan: 81% / Magenta: 0% / Yellow: 84% / Key: 33%

What color is #21AB1C?

#21AB1C is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #21AB1C to RGB:

rgb(33, 171, 28)HEX to RGB Converter →

HEX to HSL

Convert #21AB1C to HSL:

hsl(118, 72%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #21AB1C to CMYK:

cmyk(81%, 0%, 84%, 33%)Color Converter →

Color Meaning and Usage

A eye-catching green tone, #21AB1C has RGB (33, 171, 28) and HSL (118°, 72%, 39%). Known for evoking nature and harmony, this green hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #21AB1C is #A61CAB, creating high-contrast pairings. For softer combinations, try analogous colors like #68AB1C.

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

Contrast with #21AB1C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #21AB1C?

#21AB1C is a eye-catching green color - a green hue that evokes nature and harmony.

What is the RGB value of #21AB1C?

#21AB1C in RGB is (33, 171, 28) - 33 red, 171 green, and 28 blue.

How to use #21AB1C in CSS?

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

What colors go well with #21AB1C?

#A61CAB (complementary), #68AB1C (analogous), and #146911 (lighter shade) work well with #21AB1C.