HSL(140, 85%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(140,85%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(140, 85%, 18%) color: hsl(140, 85%, 18%)
HEX #075521 color: #075521
RGB rgb(7, 85, 33) color: rgb(7, 85, 33)
CMYK cmyk(92%, 0%, 61%, 67%)
HSV hsv(140, 92%, 33%)
HWB hwb(140 3% 67%) color: hwb(140 3% 67%)
OKLCH oklch(0.3937 0.1088 148.33) color: oklch(0.3937 0.1088 148.33)
Lab lab(31 -34.51 23.95) color: lab(31 -34.51 23.95)
LCH lch(31 42.01 145.24) color: lch(31 42.01 145.24)

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 9.01:1
vs Black 2.33: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)

#29292E — rgb(41, 41, 46)

Deuteranopia (Green-blind)

#241E31 — rgb(36, 30, 49)

Tritanopia (Blue-blind)

#0B383A — rgb(11, 56, 58)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(140, 85%, 18%);

text

color: hsl(140, 85%, 18%);

border

border: 2px solid hsl(140, 85%, 18%);

gradient light

background: linear-gradient(to right, hsl(140, 85%, 38%), hsl(140, 85%, 18%));

gradient dark

background: linear-gradient(to right, hsl(140, 85%, 18%), hsl(140, 85%, 0%))

hex

background-color: #075521;

tailwind

bg-[hsl(140,85%,18%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(140, 85%, 18%, 0.4);

css variable

--color-primary: hsl(140, 85%, 18%);

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(140, 85%, 18%)?

HEX: #075521 | RGB: rgb(7, 85, 33) | CMYK: 92%, 0%, 61%, 67% | HSV: 140°, 92%, 33%. Copy any format from the conversion table above.

What colors go well with #075521?

The complementary color is HSL(320, 85%, 18%). For a triadic harmony, use hues 140°, 260°, and 20°. For analogous combinations, try hues 110° and 170°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(140, 85%, 18%) in CSS?

As HSL: color: hsl(140, 85%, 18%); — As HEX: color: #075521; — As RGB: color: rgb(7, 85, 33); — Tailwind CSS: bg-[hsl(140,85%,18%)] — CSS variable: --color-primary: hsl(140, 85%, 18%);