HSL(108, 90%, 22%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(108,90%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(108, 90%, 22%) color: hsl(108, 90%, 22%)
HEX #1A6B06 color: #1A6B06
RGB rgb(26, 107, 6) color: rgb(26, 107, 6)
CMYK cmyk(76%, 0%, 94%, 58%)
HSV hsv(108, 94%, 42%)
HWB hwb(108 3% 58%) color: hwb(108 3% 58%)
OKLCH oklch(0.4618 0.1476 140.83) color: oklch(0.4618 0.1476 140.83)
Lab lab(39.15 -41.83 42.8) color: lab(39.15 -41.83 42.8)
LCH lch(39.15 59.85 134.34) color: lch(39.15 59.85 134.34)

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.67:1
vs Black 3.15: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)

#3D3E1E — rgb(61, 62, 30)

Deuteranopia (Green-blind)

#383224 — rgb(56, 50, 36)

Tritanopia (Blue-blind)

#1E3236 — rgb(30, 50, 54)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(108, 90%, 22%);

text

color: hsl(108, 90%, 22%);

border

border: 2px solid hsl(108, 90%, 22%);

gradient light

background: linear-gradient(to right, hsl(108, 90%, 42%), hsl(108, 90%, 22%));

gradient dark

background: linear-gradient(to right, hsl(108, 90%, 22%), hsl(108, 90%, 2%))

hex

background-color: #1A6B06;

tailwind

bg-[hsl(108,90%,22%)]

box shadow

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

css variable

--color-primary: hsl(108, 90%, 22%);

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(108, 90%, 22%)?

HEX: #1A6B06 | RGB: rgb(26, 107, 6) | CMYK: 76%, 0%, 94%, 58% | HSV: 108°, 94%, 42%. Copy any format from the conversion table above.

What colors go well with #1A6B06?

The complementary color is HSL(288, 90%, 22%). For a triadic harmony, use hues 108°, 228°, and 348°. For analogous combinations, try hues 78° and 138°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(108, 90%, 22%) in CSS?

As HSL: color: hsl(108, 90%, 22%); — As HEX: color: #1A6B06; — As RGB: color: rgb(26, 107, 6); — Tailwind CSS: bg-[hsl(108,90%,22%)] — CSS variable: --color-primary: hsl(108, 90%, 22%);