#155B1C Color Information

Hex color code: #155B1C

#155B1C is a deep green color. In RGB it is (21, 91, 28), and in HSL it is (126°, 63%, 22%). It is commonly used in modern UI design.

Try:
Color NameGreen
HEX
#155B1C
RGB
21, 91, 28
HSL
126°, 63%, 22%
CMYK
77%, 0%, 69%, 64%

Shades

CSS Usage
color: #155B1C;
background-color: #155B1C;
border-color: #155B1C;
box-shadow: 0 0 10px #155B1C;
border: 2px solid #155B1C;
Tailwind Usage
bg-[#155B1C]
text-[#155B1C]
border-[#155B1C]
shadow-[0_0_10px_155B1C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #155B1C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #155B1C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #155B1C; 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 #155B1C; background-color: #155B1C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #155B1C20; border-left: 4px solid #155B1C; }

Link / Accent

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

a { color: #155B1C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #155B1C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

21, 91, 28

Red: 21 / Green: 91 / Blue: 28

HSL

126°, 63%, 22%

Hue: 126° / Saturation: 63% / Lightness: 22%

CMYK

77%, 0%, 69%, 64%

Cyan: 77% / Magenta: 0% / Yellow: 69% / Key: 64%

What color is #155B1C?

#155B1C is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #155B1C to RGB:

rgb(21, 91, 28)HEX to RGB Converter →

HEX to HSL

Convert #155B1C to HSL:

hsl(126, 63%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #155B1C to CMYK:

cmyk(77%, 0%, 69%, 64%)Color Converter →

Color Meaning and Usage

#155B1C is a dark green color with RGB values of 21, 91, 28 and HSL of 126°, 63%, 22%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #155B1C is #5B1554, creating high-contrast pairings. For softer combinations, try analogous colors like #315B15.

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

Contrast with #155B1C

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

Contrast Ratio: 2.55:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #155B1C?

#155B1C is a dark green color - a green hue that evokes nature and harmony.

What is the RGB value of #155B1C?

#155B1C in RGB is (21, 91, 28) - 21 red, 91 green, and 28 blue.

How to use #155B1C in CSS?

Use #155B1C directly in your CSS properties like color or background-color.

What colors go well with #155B1C?

#5B1554 (complementary), #315B15 (analogous), and #071D09 (lighter shade) work well with #155B1C.