HSL(94, 20%, 16%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(94,20%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(94, 20%, 16%) color: hsl(94, 20%, 16%)
HEX #283121 color: #283121
RGB rgb(40, 49, 33) color: rgb(40, 49, 33)
CMYK cmyk(18%, 0%, 33%, 81%)
HSV hsv(94, 33%, 19%)
HWB hwb(94 13% 81%) color: hwb(94 13% 81%)
OKLCH oklch(0.2994 0.0305 131.9) color: oklch(0.2994 0.0305 131.9)
Lab lab(19.05 -7.54 8.98) color: lab(19.05 -7.54 8.98)
LCH lch(19.05 11.73 130.02) color: lch(19.05 11.73 130.02)

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.54:1
vs Black 1.55: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)

#2C2C25 — rgb(44, 44, 37)

Deuteranopia (Green-blind)

#2B2B26 — rgb(43, 43, 38)

Tritanopia (Blue-blind)

#282829 — rgb(40, 40, 41)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(94, 20%, 16%);

text

color: hsl(94, 20%, 16%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #283121;

tailwind

bg-[hsl(94,20%,16%)]

box shadow

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

css variable

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

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

What colors go well with #283121?

The complementary color is HSL(274, 20%, 16%). For a triadic harmony, use hues 94°, 214°, and 334°. For analogous combinations, try hues 64° and 124°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(94, 20%, 16%) in CSS?

As HSL: color: hsl(94, 20%, 16%); — As HEX: color: #283121; — As RGB: color: rgb(40, 49, 33); — Tailwind CSS: bg-[hsl(94,20%,16%)] — CSS variable: --color-primary: hsl(94, 20%, 16%);