HSL(131, 79%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(131,79%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(131, 79%, 18%) color: hsl(131, 79%, 18%)
HEX #0A5217 color: #0A5217
RGB rgb(10, 82, 23) color: rgb(10, 82, 23)
CMYK cmyk(88%, 0%, 72%, 68%)
HSV hsv(131, 88%, 32%)
HWB hwb(131 4% 68%) color: hwb(131 4% 68%)
OKLCH oklch(0.3836 0.1129 145.24) color: oklch(0.3836 0.1129 145.24)
Lab lab(29.81 -34.41 27.8) color: lab(29.81 -34.41 27.8)
LCH lch(29.81 44.24 141.07) color: lch(29.81 44.24 141.07)

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.41:1
vs Black 2.23: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)

#292A25 — rgb(41, 42, 37)

Deuteranopia (Green-blind)

#252029 — rgb(37, 32, 41)

Tritanopia (Blue-blind)

#0E3133 — rgb(14, 49, 51)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(131, 79%, 18%);

text

color: hsl(131, 79%, 18%);

border

border: 2px solid hsl(131, 79%, 18%);

gradient light

background: linear-gradient(to right, hsl(131, 79%, 38%), hsl(131, 79%, 18%));

gradient dark

background: linear-gradient(to right, hsl(131, 79%, 18%), hsl(131, 79%, 0%))

hex

background-color: #0A5217;

tailwind

bg-[hsl(131,79%,18%)]

box shadow

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

css variable

--color-primary: hsl(131, 79%, 18%);

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, 79%, 18%)?

HEX: #0A5217 | RGB: rgb(10, 82, 23) | CMYK: 88%, 0%, 72%, 68% | HSV: 131°, 88%, 32%. Copy any format from the conversion table above.

What colors go well with #0A5217?

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

As HSL: color: hsl(131, 79%, 18%); — As HEX: color: #0A5217; — As RGB: color: rgb(10, 82, 23); — Tailwind CSS: bg-[hsl(131,79%,18%)] — CSS variable: --color-primary: hsl(131, 79%, 18%);