#7EA512 Color Information

Hex color code: #7EA512

#7EA512 is a bold green color. In RGB it is (126, 165, 18), and in HSL it is (76°, 80%, 36%). It is often used for branding and logos.

Try:
Color NameOlive Drab
HEX
#7EA512
RGB
126, 165, 18
HSL
76°, 80%, 36%
CMYK
24%, 0%, 89%, 35%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #7EA512, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #7EA512; color: #000000; }

Badge

New Feature
.badge { background-color: #7EA512; 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 #7EA512; background-color: #7EA51215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #7EA51220; border-left: 4px solid #7EA512; }

Link / Accent

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

a { color: #7EA512; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7EA512 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

126, 165, 18

Red: 126 / Green: 165 / Blue: 18

HSL

76°, 80%, 36%

Hue: 76° / Saturation: 80% / Lightness: 36%

CMYK

24%, 0%, 89%, 35%

Cyan: 24% / Magenta: 0% / Yellow: 89% / Key: 35%

What color is #7EA512?

#7EA512 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7EA512 to RGB:

rgb(126, 165, 18)HEX to RGB Converter →

HEX to HSL

Convert #7EA512 to HSL:

hsl(76, 80%, 36%)RGB to HSL Converter →

HEX to CMYK

Convert #7EA512 to CMYK:

cmyk(24%, 0%, 89%, 35%)Color Converter →

Color Meaning and Usage

#7EA512 is a bold green color with RGB values of 126, 165, 18 and HSL of 76°, 80%, 36%. This green hue evokes nature and harmony, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7EA512 is #3A12A5, creating high-contrast pairings. For softer combinations, try analogous colors like #A58312.

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

Contrast with #7EA512

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

Contrast Ratio: 7.28:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7EA512?

#7EA512 is a bold green color - a green hue that evokes nature and harmony.

What is the RGB value of #7EA512?

#7EA512 in RGB is (126, 165, 18) - 126 red, 165 green, and 18 blue.

How to use #7EA512 in CSS?

Use #7EA512 directly in your CSS properties like color or background-color.

What colors go well with #7EA512?

#3A12A5 (complementary), #A58312 (analogous), and #4A600B (lighter shade) work well with #7EA512.