HSL(73, 21%, 23%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(73,21%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(73, 21%, 23%) color: hsl(73, 21%, 23%)
HEX #42472E color: #42472E
RGB rgb(66, 71, 46) color: rgb(66, 71, 46)
CMYK cmyk(7%, 0%, 35%, 72%)
HSV hsv(72, 35%, 28%)
HWB hwb(72 18% 72%) color: hwb(72 18% 72%)
OKLCH oklch(0.386 0.0404 117.54) color: oklch(0.386 0.0404 117.54)
Lab lab(29.06 -6.97 14.39) color: lab(29.06 -6.97 14.39)
LCH lch(29.06 15.99 115.84) color: lch(29.06 15.99 115.84)

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 9.67:1
vs Black 2.17: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)

#444434 — rgb(68, 68, 52)

Deuteranopia (Green-blind)

#444436 — rgb(68, 68, 54)

Tritanopia (Blue-blind)

#42393A — rgb(66, 57, 58)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(73, 21%, 23%);

text

color: hsl(73, 21%, 23%);

border

border: 2px solid hsl(73, 21%, 23%);

gradient light

background: linear-gradient(to right, hsl(73, 21%, 43%), hsl(73, 21%, 23%));

gradient dark

background: linear-gradient(to right, hsl(73, 21%, 23%), hsl(73, 21%, 3%))

hex

background-color: #42472E;

tailwind

bg-[hsl(73,21%,23%)]

box shadow

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

css variable

--color-primary: hsl(73, 21%, 23%);

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(73, 21%, 23%)?

HEX: #42472E | RGB: rgb(66, 71, 46) | CMYK: 7%, 0%, 35%, 72% | HSV: 72°, 35%, 28%. Copy any format from the conversion table above.

What colors go well with #42472E?

The complementary color is HSL(253, 21%, 23%). For a triadic harmony, use hues 73°, 193°, and 313°. For analogous combinations, try hues 43° and 103°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(73, 21%, 23%) in CSS?

As HSL: color: hsl(73, 21%, 23%); — As HEX: color: #42472E; — As RGB: color: rgb(66, 71, 46); — Tailwind CSS: bg-[hsl(73,21%,23%)] — CSS variable: --color-primary: hsl(73, 21%, 23%);