#5BA540 Color Information

Hex color code: #5BA540

#5BA540 is a gentle green color. In RGB it is (91, 165, 64), and in HSL it is (104°, 44%, 45%). It is frequently seen in web interfaces.

Try:
Color NameOlive Drab
HEX
#5BA540
RGB
91, 165, 64
HSL
104°, 44%, 45%
CMYK
45%, 0%, 61%, 35%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #5BA540; color: #000000; }

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #5BA540; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

91, 165, 64

Red: 91 / Green: 165 / Blue: 64

HSL

104°, 44%, 45%

Hue: 104° / Saturation: 44% / Lightness: 45%

CMYK

45%, 0%, 61%, 35%

Cyan: 45% / Magenta: 0% / Yellow: 61% / Key: 35%

What color is #5BA540?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5BA540 to RGB:

rgb(91, 165, 64)HEX to RGB Converter →

HEX to HSL

Convert #5BA540 to HSL:

hsl(104, 44%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #5BA540 to CMYK:

cmyk(45%, 0%, 61%, 35%)Color Converter →

Color Meaning and Usage

A subtle green tone, #5BA540 has RGB (91, 165, 64) and HSL (104°, 44%, 45%). Known for evoking nature and harmony, this green hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5BA540 is #8A40A5, creating high-contrast pairings. For softer combinations, try analogous colors like #8EA540.

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

Contrast with #5BA540

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5BA540?

#5BA540 is a subtle green color - a green hue that evokes nature and harmony.

What is the RGB value of #5BA540?

#5BA540 in RGB is (91, 165, 64) - 91 red, 165 green, and 64 blue.

How to use #5BA540 in CSS?

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

What colors go well with #5BA540?

#8A40A5 (complementary), #8EA540 (analogous), and #3D6E2B (lighter shade) work well with #5BA540.