#5B802D Color Information

Hex color code: #5B802D

The hex color #5B802D is a pastel green with RGB values of (91, 128, 45) and HSL of (87°, 48%, 34%). It is commonly used in modern UI design.

Try:
Color NameDark Olive Green
HEX
#5B802D
RGB
91, 128, 45
HSL
87°, 48%, 34%
CMYK
29%, 0%, 65%, 50%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5B802D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5B802D; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5B802D; 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 #5B802D; background-color: #5B802D15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5B802D20; border-left: 4px solid #5B802D; }

Link / Accent

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

a { color: #5B802D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5B802D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

91, 128, 45

Red: 91 / Green: 128 / Blue: 45

HSL

87°, 48%, 34%

Hue: 87° / Saturation: 48% / Lightness: 34%

CMYK

29%, 0%, 65%, 50%

Cyan: 29% / Magenta: 0% / Yellow: 65% / Key: 50%

What color is #5B802D?

#5B802D is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5B802D to RGB:

rgb(91, 128, 45)HEX to RGB Converter →

HEX to HSL

Convert #5B802D to HSL:

hsl(87, 48%, 34%)RGB to HSL Converter →

HEX to CMYK

Convert #5B802D to CMYK:

cmyk(29%, 0%, 65%, 50%)Color Converter →

Color Meaning and Usage

#5B802D is a delicate green color with RGB values of 91, 128, 45 and HSL of 87°, 48%, 34%. This green hue evokes nature and harmony, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5B802D is #532D80, creating high-contrast pairings. For softer combinations, try analogous colors like #807C2D.

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

Contrast with #5B802D

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 #5B802D?

#5B802D is a delicate green color - a green hue that evokes nature and harmony.

What is the RGB value of #5B802D?

#5B802D in RGB is (91, 128, 45) - 91 red, 128 green, and 45 blue.

How to use #5B802D in CSS?

Use #5B802D directly in your CSS properties like color or background-color.

What colors go well with #5B802D?

#532D80 (complementary), #807C2D (analogous), and #334819 (lighter shade) work well with #5B802D.