HSL(131, 74%, 27%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(131,74%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(131, 74%, 27%) color: hsl(131, 74%, 27%)
HEX #127825 color: #127825
RGB rgb(18, 120, 37) color: rgb(18, 120, 37)
CMYK cmyk(85%, 0%, 69%, 53%)
HSV hsv(131, 85%, 47%)
HWB hwb(131 7% 53%) color: hwb(131 7% 53%)
OKLCH oklch(0.5006 0.1483 145.24) color: oklch(0.5006 0.1483 145.24)
Lab lab(43.79 -45.19 36.56) color: lab(43.79 -45.19 36.56)
LCH lch(43.79 58.13 141.03) color: lch(43.79 58.13 141.03)

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 5.62:1
vs Black 3.74:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#3E3F39 — rgb(62, 63, 57)

Deuteranopia (Green-blind)

#38313E — rgb(56, 49, 62)

Tritanopia (Blue-blind)

#17494C — rgb(23, 73, 76)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(131, 74%, 27%);

text

color: hsl(131, 74%, 27%);

border

border: 2px solid hsl(131, 74%, 27%);

gradient light

background: linear-gradient(to right, hsl(131, 74%, 47%), hsl(131, 74%, 27%));

gradient dark

background: linear-gradient(to right, hsl(131, 74%, 27%), hsl(131, 74%, 7%))

hex

background-color: #127825;

tailwind

bg-[hsl(131,74%,27%)]

box shadow

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

css variable

--color-primary: hsl(131, 74%, 27%);

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, 74%, 27%)?

HEX: #127825 | RGB: rgb(18, 120, 37) | CMYK: 85%, 0%, 69%, 53% | HSV: 131°, 85%, 47%. Copy any format from the conversion table above.

What colors go well with #127825?

The complementary color is HSL(311, 74%, 27%). 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, 74%, 27%) in CSS?

As HSL: color: hsl(131, 74%, 27%); — As HEX: color: #127825; — As RGB: color: rgb(18, 120, 37); — Tailwind CSS: bg-[hsl(131,74%,27%)] — CSS variable: --color-primary: hsl(131, 74%, 27%);