#628E2A Color Information

Hex color code: #628E2A

The hex color #628E2A is a subtle green with RGB values of (98, 142, 42) and HSL of (86°, 54%, 36%). It is often used for branding and logos.

Try:
Color NameOlive Drab
HEX
#628E2A
RGB
98, 142, 42
HSL
86°, 54%, 36%
CMYK
31%, 0%, 70%, 44%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #628E2A, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #628E2A; color: #000000; }

Badge

New Feature
.badge { background-color: #628E2A; 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 #628E2A; background-color: #628E2A15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #628E2A20; border-left: 4px solid #628E2A; }

Link / Accent

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

a { color: #628E2A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #628E2A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

98, 142, 42

Red: 98 / Green: 142 / Blue: 42

HSL

86°, 54%, 36%

Hue: 86° / Saturation: 54% / Lightness: 36%

CMYK

31%, 0%, 70%, 44%

Cyan: 31% / Magenta: 0% / Yellow: 70% / Key: 44%

What color is #628E2A?

#628E2A is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #628E2A to RGB:

rgb(98, 142, 42)HEX to RGB Converter →

HEX to HSL

Convert #628E2A to HSL:

hsl(86, 54%, 36%)RGB to HSL Converter →

HEX to CMYK

Convert #628E2A to CMYK:

cmyk(31%, 0%, 70%, 44%)Color Converter →

Color Meaning and Usage

A subtle green tone, #628E2A has RGB (98, 142, 42) and HSL (86°, 54%, 36%). Known for evoking nature and harmony, this green hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #628E2A is #552A8D, creating high-contrast pairings. For softer combinations, try analogous colors like #8D872A.

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

Contrast with #628E2A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #628E2A?

#628E2A is a subtle green color - a green hue that evokes nature and harmony.

What is the RGB value of #628E2A?

#628E2A in RGB is (98, 142, 42) - 98 red, 142 green, and 42 blue.

How to use #628E2A in CSS?

Use #628E2A directly in your CSS properties like color or background-color.

What colors go well with #628E2A?

#552A8D (complementary), #8D872A (analogous), and #395219 (lighter shade) work well with #628E2A.