HSL(112, 16%, 15%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(112,16%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(112, 16%, 15%) color: hsl(112, 16%, 15%)
HEX #222C20 color: #222C20
RGB rgb(34, 44, 32) color: rgb(34, 44, 32)
CMYK cmyk(23%, 0%, 27%, 83%)
HSV hsv(110, 27%, 17%)
HWB hwb(110 12% 83%) color: hwb(110 12% 83%)
OKLCH oklch(0.2795 0.0257 140.4) color: oklch(0.2795 0.0257 140.4)
Lab lab(16.73 -7.27 6.4) color: lab(16.73 -7.27 6.4)
LCH lch(16.73 9.69 138.64) color: lch(16.73 9.69 138.64)

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 14.49:1
vs Black 1.45: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)

#262623 — rgb(38, 38, 35)

Deuteranopia (Green-blind)

#262524 — rgb(38, 37, 36)

Tritanopia (Blue-blind)

#232526 — rgb(35, 37, 38)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(112, 16%, 15%);

text

color: hsl(112, 16%, 15%);

border

border: 2px solid hsl(112, 16%, 15%);

gradient light

background: linear-gradient(to right, hsl(112, 16%, 35%), hsl(112, 16%, 15%));

gradient dark

background: linear-gradient(to right, hsl(112, 16%, 15%), hsl(112, 16%, 0%))

hex

background-color: #222C20;

tailwind

bg-[hsl(112,16%,15%)]

box shadow

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

css variable

--color-primary: hsl(112, 16%, 15%);

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(112, 16%, 15%)?

HEX: #222C20 | RGB: rgb(34, 44, 32) | CMYK: 23%, 0%, 27%, 83% | HSV: 110°, 27%, 17%. Copy any format from the conversion table above.

What colors go well with #222C20?

The complementary color is HSL(292, 16%, 15%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(112, 16%, 15%) in CSS?

As HSL: color: hsl(112, 16%, 15%); — As HEX: color: #222C20; — As RGB: color: rgb(34, 44, 32); — Tailwind CSS: bg-[hsl(112,16%,15%)] — CSS variable: --color-primary: hsl(112, 16%, 15%);