HSL(112, 50%, 19%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(112,50%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(112, 50%, 19%) color: hsl(112, 50%, 19%)
HEX #1F4918 color: #1F4918
RGB rgb(31, 73, 24) color: rgb(31, 73, 24)
CMYK cmyk(58%, 0%, 67%, 71%)
HSV hsv(111, 67%, 29%)
HWB hwb(111 10% 71%) color: hwb(111 10% 71%)
OKLCH oklch(0.3627 0.0906 140.91) color: oklch(0.3627 0.0906 140.91)
Lab lab(27.08 -25.73 24.4) color: lab(27.08 -25.73 24.4)
LCH lch(27.08 35.46 136.52) color: lch(27.08 35.46 136.52)

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 10.37:1
vs Black 2.02: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)

#313224 — rgb(49, 50, 36)

Deuteranopia (Green-blind)

#2F2C27 — rgb(47, 44, 39)

Tritanopia (Blue-blind)

#212D2F — rgb(33, 45, 47)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(112, 50%, 19%);

text

color: hsl(112, 50%, 19%);

border

border: 2px solid hsl(112, 50%, 19%);

gradient light

background: linear-gradient(to right, hsl(112, 50%, 39%), hsl(112, 50%, 19%));

gradient dark

background: linear-gradient(to right, hsl(112, 50%, 19%), hsl(112, 50%, 0%))

hex

background-color: #1F4918;

tailwind

bg-[hsl(112,50%,19%)]

box shadow

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

css variable

--color-primary: hsl(112, 50%, 19%);

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(112, 50%, 19%)?

HEX: #1F4918 | RGB: rgb(31, 73, 24) | CMYK: 58%, 0%, 67%, 71% | HSV: 111°, 67%, 29%. Copy any format from the conversion table above.

What colors go well with #1F4918?

The complementary color is HSL(292, 50%, 19%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(112, 50%, 19%) in CSS?

As HSL: color: hsl(112, 50%, 19%); — As HEX: color: #1F4918; — As RGB: color: rgb(31, 73, 24); — Tailwind CSS: bg-[hsl(112,50%,19%)] — CSS variable: --color-primary: hsl(112, 50%, 19%);