HSL(131, 49%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(131,49%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(131, 49%, 21%) color: hsl(131, 49%, 21%)
HEX #1B5025 color: #1B5025
RGB rgb(27, 80, 37) color: rgb(27, 80, 37)
CMYK cmyk(66%, 0%, 54%, 69%)
HSV hsv(131, 66%, 31%)
HWB hwb(131 11% 69%) color: hwb(131 11% 69%)
OKLCH oklch(0.3842 0.0904 147.21) color: oklch(0.3842 0.0904 147.21)
Lab lab(29.67 -28.11 20.17) color: lab(29.67 -28.11 20.17)
LCH lch(29.67 34.6 144.34) color: lch(29.67 34.6 144.34)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 9.46:1
vs Black 2.22:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#32322F — rgb(50, 50, 47)

Deuteranopia (Green-blind)

#2F2B32 — rgb(47, 43, 50)

Tritanopia (Blue-blind)

#1E3839 — rgb(30, 56, 57)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(131, 49%, 21%);

text

color: hsl(131, 49%, 21%);

border

border: 2px solid hsl(131, 49%, 21%);

gradient light

background: linear-gradient(to right, hsl(131, 49%, 41%), hsl(131, 49%, 21%));

gradient dark

background: linear-gradient(to right, hsl(131, 49%, 21%), hsl(131, 49%, 1%))

hex

background-color: #1B5025;

tailwind

bg-[hsl(131,49%,21%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(131, 49%, 21%, 0.4);

css variable

--color-primary: hsl(131, 49%, 21%);

Related Colors

Use Cases for Green

Success states Eco/nature brands Finance apps Health apps Confirm buttons

Frequently Asked Questions

What are all the color codes for HSL(131, 49%, 21%)?

HEX: #1B5025 | RGB: rgb(27, 80, 37) | CMYK: 66%, 0%, 54%, 69% | HSV: 131°, 66%, 31%. Copy any format from the conversion table above.

What colors go well with #1B5025?

The complementary color is HSL(311, 49%, 21%). For a triadic harmony, use hues 131°, 251°, and 11°. For analogous combinations, try hues 101° and 161°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(131, 49%, 21%) in CSS?

As HSL: color: hsl(131, 49%, 21%); — As HEX: color: #1B5025; — As RGB: color: rgb(27, 80, 37); — Tailwind CSS: bg-[hsl(131,49%,21%)] — CSS variable: --color-primary: hsl(131, 49%, 21%);