#2A870D Color Information

Hex color code: #2A870D

A striking green shade, #2A870D appears as (42, 135, 13) in RGB and (106°, 82%, 29%) in HSL. It is popular in mobile app design.

Try:
Color NameGreen
HEX
#2A870D
RGB
42, 135, 13
HSL
106°, 82%, 29%
CMYK
69%, 0%, 90%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #2A870D; 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 #2A870D; background-color: #2A870D15; }

Alert / Toast

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

Link / Accent

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

a { color: #2A870D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2A870D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

42, 135, 13

Red: 42 / Green: 135 / Blue: 13

HSL

106°, 82%, 29%

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

CMYK

69%, 0%, 90%, 47%

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

What color is #2A870D?

#2A870D is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2A870D to RGB:

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

HEX to HSL

Convert #2A870D to HSL:

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

HEX to CMYK

Convert #2A870D to CMYK:

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

Color Meaning and Usage

#2A870D is a dynamic green color with RGB values of 42, 135, 13 and HSL of 106°, 82%, 29%. This highly saturated hue evokes energy and excitement, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2A870D is #6A0D87, creating high-contrast pairings. For softer combinations, try analogous colors like #66870D.

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

Contrast with #2A870D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2A870D?

#2A870D is a dynamic green color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #2A870D?

#2A870D in RGB is (42, 135, 13) - 42 red, 135 green, and 13 blue.

How to use #2A870D in CSS?

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

What colors go well with #2A870D?

#6A0D87 (complementary), #66870D (analogous), and #144106 (lighter shade) work well with #2A870D.