HSL(146, 21%, 16%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(146,21%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(146, 21%, 16%) color: hsl(146, 21%, 16%)
HEX #203128 color: #203128
RGB rgb(32, 49, 40) color: rgb(32, 49, 40)
CMYK cmyk(35%, 0%, 18%, 81%)
HSV hsv(148, 35%, 19%)
HWB hwb(148 12% 81%) color: hwb(148 12% 81%)
OKLCH oklch(0.295 0.0279 160.96) color: oklch(0.295 0.0279 160.96)
Lab lab(18.61 -9.41 3.52) color: lab(18.61 -9.41 3.52)
LCH lch(18.61 10.05 159.49) color: lch(18.61 10.05 159.49)

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.71:1
vs Black 1.53: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)

#27282A — rgb(39, 40, 42)

Deuteranopia (Green-blind)

#26252B — rgb(38, 37, 43)

Tritanopia (Blue-blind)

#212C2C — rgb(33, 44, 44)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(146, 21%, 16%);

text

color: hsl(146, 21%, 16%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #203128;

tailwind

bg-[hsl(146,21%,16%)]

box shadow

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

css variable

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

HEX: #203128 | RGB: rgb(32, 49, 40) | CMYK: 35%, 0%, 18%, 81% | HSV: 148°, 35%, 19%. Copy any format from the conversion table above.

What colors go well with #203128?

The complementary color is HSL(326, 21%, 16%). For a triadic harmony, use hues 146°, 266°, and 26°. For analogous combinations, try hues 116° and 176°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(146, 21%, 16%) in CSS?

As HSL: color: hsl(146, 21%, 16%); — As HEX: color: #203128; — As RGB: color: rgb(32, 49, 40); — Tailwind CSS: bg-[hsl(146,21%,16%)] — CSS variable: --color-primary: hsl(146, 21%, 16%);