HSL(116, 54%, 23%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(116,54%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(116, 54%, 23%) color: hsl(116, 54%, 23%)
HEX #1F5A1B color: #1F5A1B
RGB rgb(31, 90, 27) color: rgb(31, 90, 27)
CMYK cmyk(66%, 0%, 70%, 65%)
HSV hsv(116, 70%, 35%)
HWB hwb(116 11% 65%) color: hwb(116 11% 65%)
OKLCH oklch(0.4142 0.1129 142.25) color: oklch(0.4142 0.1129 142.25)
Lab lab(33.31 -32.77 29.84) color: lab(33.31 -32.77 29.84)
LCH lch(33.31 44.32 137.68) color: lch(33.31 44.32 137.68)

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 8.28:1
vs Black 2.54: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)

#39392A — rgb(57, 57, 42)

Deuteranopia (Green-blind)

#35312E — rgb(53, 49, 46)

Tritanopia (Blue-blind)

#223639 — rgb(34, 54, 57)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(116, 54%, 23%);

text

color: hsl(116, 54%, 23%);

border

border: 2px solid hsl(116, 54%, 23%);

gradient light

background: linear-gradient(to right, hsl(116, 54%, 43%), hsl(116, 54%, 23%));

gradient dark

background: linear-gradient(to right, hsl(116, 54%, 23%), hsl(116, 54%, 3%))

hex

background-color: #1F5A1B;

tailwind

bg-[hsl(116,54%,23%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(116, 54%, 23%, 0.4);

css variable

--color-primary: hsl(116, 54%, 23%);

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(116, 54%, 23%)?

HEX: #1F5A1B | RGB: rgb(31, 90, 27) | CMYK: 66%, 0%, 70%, 65% | HSV: 116°, 70%, 35%. Copy any format from the conversion table above.

What colors go well with #1F5A1B?

The complementary color is HSL(296, 54%, 23%). For a triadic harmony, use hues 116°, 236°, and 356°. For analogous combinations, try hues 86° and 146°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(116, 54%, 23%) in CSS?

As HSL: color: hsl(116, 54%, 23%); — As HEX: color: #1F5A1B; — As RGB: color: rgb(31, 90, 27); — Tailwind CSS: bg-[hsl(116,54%,23%)] — CSS variable: --color-primary: hsl(116, 54%, 23%);