HSL(122, 97%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(122,97%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(122, 97%, 18%) color: hsl(122, 97%, 18%)
HEX #015A04 color: #015A04
RGB rgb(1, 90, 4) color: rgb(1, 90, 4)
CMYK cmyk(99%, 0%, 96%, 65%)
HSV hsv(122, 99%, 35%)
HWB hwb(122 0% 65%) color: hwb(122 0% 65%)
OKLCH oklch(0.4055 0.1357 142.84) color: oklch(0.4055 0.1357 142.84)
Lab lab(32.54 -39.92 37.58) color: lab(32.54 -39.92 37.58)
LCH lch(32.54 54.83 136.73) color: lch(32.54 54.83 136.73)

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.52:1
vs Black 2.47: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)

#282819 — rgb(40, 40, 25)

Deuteranopia (Green-blind)

#221C1E — rgb(34, 28, 30)

Tritanopia (Blue-blind)

#05292D — rgb(5, 41, 45)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(122, 97%, 18%);

text

color: hsl(122, 97%, 18%);

border

border: 2px solid hsl(122, 97%, 18%);

gradient light

background: linear-gradient(to right, hsl(122, 97%, 38%), hsl(122, 97%, 18%));

gradient dark

background: linear-gradient(to right, hsl(122, 97%, 18%), hsl(122, 97%, 0%))

hex

background-color: #015A04;

tailwind

bg-[hsl(122,97%,18%)]

box shadow

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

css variable

--color-primary: hsl(122, 97%, 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(122, 97%, 18%)?

HEX: #015A04 | RGB: rgb(1, 90, 4) | CMYK: 99%, 0%, 96%, 65% | HSV: 122°, 99%, 35%. Copy any format from the conversion table above.

What colors go well with #015A04?

The complementary color is HSL(302, 97%, 18%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(122, 97%, 18%) in CSS?

As HSL: color: hsl(122, 97%, 18%); — As HEX: color: #015A04; — As RGB: color: rgb(1, 90, 4); — Tailwind CSS: bg-[hsl(122,97%,18%)] — CSS variable: --color-primary: hsl(122, 97%, 18%);