HSL(125, 50%, 17%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(125,50%,17%)]

Color Conversions

Format Value CSS Usage
HSL hsl(125, 50%, 17%) color: hsl(125, 50%, 17%)
HEX #164119 color: #164119
RGB rgb(22, 65, 25) color: rgb(22, 65, 25)
CMYK cmyk(66%, 0%, 62%, 75%)
HSV hsv(124, 66%, 25%)
HWB hwb(124 9% 75%) color: hwb(124 9% 75%)
OKLCH oklch(0.3343 0.082 144.67) color: oklch(0.3343 0.082 144.67)
Lab lab(23.74 -24.68 19.85) color: lab(23.74 -24.68 19.85)
LCH lch(23.74 31.67 141.19) color: lch(23.74 31.67 141.19)

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 11.64:1
vs Black 1.8: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)

#292923 — rgb(41, 41, 35)

Deuteranopia (Green-blind)

#262325 — rgb(38, 35, 37)

Tritanopia (Blue-blind)

#182A2C — rgb(24, 42, 44)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(125, 50%, 17%);

text

color: hsl(125, 50%, 17%);

border

border: 2px solid hsl(125, 50%, 17%);

gradient light

background: linear-gradient(to right, hsl(125, 50%, 37%), hsl(125, 50%, 17%));

gradient dark

background: linear-gradient(to right, hsl(125, 50%, 17%), hsl(125, 50%, 0%))

hex

background-color: #164119;

tailwind

bg-[hsl(125,50%,17%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(125, 50%, 17%, 0.4);

css variable

--color-primary: hsl(125, 50%, 17%);

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(125, 50%, 17%)?

HEX: #164119 | RGB: rgb(22, 65, 25) | CMYK: 66%, 0%, 62%, 75% | HSV: 124°, 66%, 25%. Copy any format from the conversion table above.

What colors go well with #164119?

The complementary color is HSL(305, 50%, 17%). For a triadic harmony, use hues 125°, 245°, and 5°. For analogous combinations, try hues 95° and 155°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(125, 50%, 17%) in CSS?

As HSL: color: hsl(125, 50%, 17%); — As HEX: color: #164119; — As RGB: color: rgb(22, 65, 25); — Tailwind CSS: bg-[hsl(125,50%,17%)] — CSS variable: --color-primary: hsl(125, 50%, 17%);