#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.
Shades
color: #2A870D; background-color: #2A870D; border-color: #2A870D; box-shadow: 0 0 10px #2A870D; border: 2px solid #2A870D;
bg-[#2A870D] text-[#2A870D] border-[#2A870D] shadow-[0_0_10px_2A870D]
Generate Gradient
background: linear-gradient(90deg, #2A870D, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
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.
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
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.
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.