#28AB1C Color Information

Hex color code: #28AB1C

The hex color #28AB1C is a striking green with RGB values of (40, 171, 28) and HSL of (115°, 72%, 39%). It is often used for branding and logos.

Try:
Color NameGreen
HEX
#28AB1C
RGB
40, 171, 28
HSL
115°, 72%, 39%
CMYK
77%, 0%, 84%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #28AB1C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 171, 28

Red: 40 / Green: 171 / Blue: 28

HSL

115°, 72%, 39%

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

CMYK

77%, 0%, 84%, 33%

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

What color is #28AB1C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #28AB1C to RGB:

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

HEX to HSL

Convert #28AB1C to HSL:

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

HEX to CMYK

Convert #28AB1C to CMYK:

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

Color Meaning and Usage

A dynamic green tone, #28AB1C has RGB (40, 171, 28) and HSL (115°, 72%, 39%). Known for evoking nature and harmony, this green hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #28AB1C is #9F1CAB, creating high-contrast pairings. For softer combinations, try analogous colors like #6FAB1C.

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

Contrast with #28AB1C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #28AB1C?

#28AB1C is a dynamic green color - a green hue that evokes nature and harmony.

What is the RGB value of #28AB1C?

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

How to use #28AB1C in CSS?

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

What colors go well with #28AB1C?

#9F1CAB (complementary), #6FAB1C (analogous), and #186911 (lighter shade) work well with #28AB1C.