HSL(108, 30%, 16%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(108,30%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(108, 30%, 16%) color: hsl(108, 30%, 16%)
HEX #21351D color: #21351D
RGB rgb(33, 53, 29) color: rgb(33, 53, 29)
CMYK cmyk(38%, 0%, 45%, 79%)
HSV hsv(110, 45%, 21%)
HWB hwb(110 12% 79%) color: hwb(110 12% 79%)
OKLCH oklch(0.3044 0.0491 140.34) color: oklch(0.3044 0.0491 140.34)
Lab lab(19.88 -13.85 12.65) color: lab(19.88 -13.85 12.65)
LCH lch(19.88 18.76 137.59) color: lch(19.88 18.76 137.59)

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 13.19:1
vs Black 1.59: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)

#2A2A23 — rgb(42, 42, 35)

Deuteranopia (Green-blind)

#292724 — rgb(41, 39, 36)

Tritanopia (Blue-blind)

#222728 — rgb(34, 39, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(108, 30%, 16%);

text

color: hsl(108, 30%, 16%);

border

border: 2px solid hsl(108, 30%, 16%);

gradient light

background: linear-gradient(to right, hsl(108, 30%, 36%), hsl(108, 30%, 16%));

gradient dark

background: linear-gradient(to right, hsl(108, 30%, 16%), hsl(108, 30%, 0%))

hex

background-color: #21351D;

tailwind

bg-[hsl(108,30%,16%)]

box shadow

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

css variable

--color-primary: hsl(108, 30%, 16%);

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, 30%, 16%)?

HEX: #21351D | RGB: rgb(33, 53, 29) | CMYK: 38%, 0%, 45%, 79% | HSV: 110°, 45%, 21%. Copy any format from the conversion table above.

What colors go well with #21351D?

The complementary color is HSL(288, 30%, 16%). 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, 30%, 16%) in CSS?

As HSL: color: hsl(108, 30%, 16%); — As HEX: color: #21351D; — As RGB: color: rgb(33, 53, 29); — Tailwind CSS: bg-[hsl(108,30%,16%)] — CSS variable: --color-primary: hsl(108, 30%, 16%);