HSL(92, 42%, 17%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(92,42%,17%)]

Color Conversions

Format Value CSS Usage
HSL hsl(92, 42%, 17%) color: hsl(92, 42%, 17%)
HEX #2A3E19 color: #2A3E19
RGB rgb(42, 62, 25) color: rgb(42, 62, 25)
CMYK cmyk(32%, 0%, 60%, 76%)
HSV hsv(92, 60%, 24%)
HWB hwb(92 10% 76%) color: hwb(92 10% 76%)
OKLCH oklch(0.3368 0.0646 132.42) color: oklch(0.3368 0.0646 132.42)
Lab lab(23.7 -15.72 20.05) color: lab(23.7 -15.72 20.05)
LCH lch(23.7 25.48 128.1) color: lch(23.7 25.48 128.1)

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.66: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)

#333322 — rgb(51, 51, 34)

Deuteranopia (Green-blind)

#323024 — rgb(50, 48, 36)

Tritanopia (Blue-blind)

#2B292B — rgb(43, 41, 43)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(92, 42%, 17%);

text

color: hsl(92, 42%, 17%);

border

border: 2px solid hsl(92, 42%, 17%);

gradient light

background: linear-gradient(to right, hsl(92, 42%, 37%), hsl(92, 42%, 17%));

gradient dark

background: linear-gradient(to right, hsl(92, 42%, 17%), hsl(92, 42%, 0%))

hex

background-color: #2A3E19;

tailwind

bg-[hsl(92,42%,17%)]

box shadow

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

css variable

--color-primary: hsl(92, 42%, 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(92, 42%, 17%)?

HEX: #2A3E19 | RGB: rgb(42, 62, 25) | CMYK: 32%, 0%, 60%, 76% | HSV: 92°, 60%, 24%. Copy any format from the conversion table above.

What colors go well with #2A3E19?

The complementary color is HSL(272, 42%, 17%). For a triadic harmony, use hues 92°, 212°, and 332°. For analogous combinations, try hues 62° and 122°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(92, 42%, 17%) in CSS?

As HSL: color: hsl(92, 42%, 17%); — As HEX: color: #2A3E19; — As RGB: color: rgb(42, 62, 25); — Tailwind CSS: bg-[hsl(92,42%,17%)] — CSS variable: --color-primary: hsl(92, 42%, 17%);