#28870D Color Information

Hex color code: #28870D

The hex color #28870D is a bold green with RGB values of (40, 135, 13) and HSL of (107°, 82%, 29%). It is frequently seen in web interfaces.

Try:
Color NameGreen
HEX
#28870D
RGB
40, 135, 13
HSL
107°, 82%, 29%
CMYK
70%, 0%, 90%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #28870D; 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 #28870D; background-color: #28870D15; }

Alert / Toast

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

Link / Accent

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

a { color: #28870D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #28870D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 135, 13

Red: 40 / Green: 135 / Blue: 13

HSL

107°, 82%, 29%

Hue: 107° / Saturation: 82% / Lightness: 29%

CMYK

70%, 0%, 90%, 47%

Cyan: 70% / Magenta: 0% / Yellow: 90% / Key: 47%

What color is #28870D?

#28870D is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #28870D to RGB:

rgb(40, 135, 13)HEX to RGB Converter →

HEX to HSL

Convert #28870D to HSL:

hsl(107, 82%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #28870D to CMYK:

cmyk(70%, 0%, 90%, 47%)Color Converter →

Color Meaning and Usage

#28870D is a striking green color with RGB values of 40, 135, 13 and HSL of 107°, 82%, 29%. This highly saturated hue evokes energy and excitement, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #28870D is #6C0D87, creating high-contrast pairings. For softer combinations, try analogous colors like #64870D.

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

Contrast with #28870D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #28870D?

#28870D is a striking green color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #28870D?

#28870D in RGB is (40, 135, 13) - 40 red, 135 green, and 13 blue.

How to use #28870D in CSS?

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

What colors go well with #28870D?

#6C0D87 (complementary), #64870D (analogous), and #134106 (lighter shade) work well with #28870D.