HSL(118, 90%, 23%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(118,90%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(118, 90%, 23%) color: hsl(118, 90%, 23%)
HEX #096F06 color: #096F06
RGB rgb(9, 111, 6) color: rgb(9, 111, 6)
CMYK cmyk(92%, 0%, 95%, 56%)
HSV hsv(118, 95%, 44%)
HWB hwb(118 2% 56%) color: hwb(118 2% 56%)
OKLCH oklch(0.4707 0.1561 142.4) color: oklch(0.4707 0.1561 142.4)
Lab lab(40.31 -45.54 43.68) color: lab(40.31 -45.54 43.68)
LCH lch(40.31 63.1 136.19) color: lch(40.31 63.1 136.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 6.39:1
vs Black 3.29:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#35361F — rgb(53, 54, 31)

Deuteranopia (Green-blind)

#2F2826 — rgb(47, 40, 38)

Tritanopia (Blue-blind)

#0E3338 — rgb(14, 51, 56)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(118, 90%, 23%);

text

color: hsl(118, 90%, 23%);

border

border: 2px solid hsl(118, 90%, 23%);

gradient light

background: linear-gradient(to right, hsl(118, 90%, 43%), hsl(118, 90%, 23%));

gradient dark

background: linear-gradient(to right, hsl(118, 90%, 23%), hsl(118, 90%, 3%))

hex

background-color: #096F06;

tailwind

bg-[hsl(118,90%,23%)]

box shadow

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

css variable

--color-primary: hsl(118, 90%, 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(118, 90%, 23%)?

HEX: #096F06 | RGB: rgb(9, 111, 6) | CMYK: 92%, 0%, 95%, 56% | HSV: 118°, 95%, 44%. Copy any format from the conversion table above.

What colors go well with #096F06?

The complementary color is HSL(298, 90%, 23%). For a triadic harmony, use hues 118°, 238°, and 358°. For analogous combinations, try hues 88° and 148°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(118, 90%, 23%) in CSS?

As HSL: color: hsl(118, 90%, 23%); — As HEX: color: #096F06; — As RGB: color: rgb(9, 111, 6); — Tailwind CSS: bg-[hsl(118,90%,23%)] — CSS variable: --color-primary: hsl(118, 90%, 23%);