HSL(122, 16%, 16%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(122,16%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(122, 16%, 16%) color: hsl(122, 16%, 16%)
HEX #222F23 color: #222F23
RGB rgb(34, 47, 35) color: rgb(34, 47, 35)
CMYK cmyk(28%, 0%, 26%, 82%)
HSV hsv(125, 28%, 18%)
HWB hwb(125 13% 82%) color: hwb(125 13% 82%)
OKLCH oklch(0.2891 0.0279 146.81) color: oklch(0.2891 0.0279 146.81)
Lab lab(17.89 -8.53 5.96) color: lab(17.89 -8.53 5.96)
LCH lch(17.89 10.41 145.06) color: lch(17.89 10.41 145.06)

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.01:1
vs Black 1.5: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)

#282826 — rgb(40, 40, 38)

Deuteranopia (Green-blind)

#272627 — rgb(39, 38, 39)

Tritanopia (Blue-blind)

#232829 — rgb(35, 40, 41)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(122, 16%, 16%);

text

color: hsl(122, 16%, 16%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #222F23;

tailwind

bg-[hsl(122,16%,16%)]

box shadow

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

css variable

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

HEX: #222F23 | RGB: rgb(34, 47, 35) | CMYK: 28%, 0%, 26%, 82% | HSV: 125°, 28%, 18%. Copy any format from the conversion table above.

What colors go well with #222F23?

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

As HSL: color: hsl(122, 16%, 16%); — As HEX: color: #222F23; — As RGB: color: rgb(34, 47, 35); — Tailwind CSS: bg-[hsl(122,16%,16%)] — CSS variable: --color-primary: hsl(122, 16%, 16%);