HSL(142, 20%, 17%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(142,20%,17%)]

Color Conversions

Format Value CSS Usage
HSL hsl(142, 20%, 17%) color: hsl(142, 20%, 17%)
HEX #233429 color: #233429
RGB rgb(35, 52, 41) color: rgb(35, 52, 41)
CMYK cmyk(33%, 0%, 21%, 80%)
HSV hsv(141, 33%, 20%)
HWB hwb(141 13% 80%) color: hwb(141 13% 80%)
OKLCH oklch(0.3063 0.0299 155.84) color: oklch(0.3063 0.0299 155.84)
Lab lab(19.94 -9.83 4.75) color: lab(19.94 -9.83 4.75)
LCH lch(19.94 10.92 154.21) color: lch(19.94 10.92 154.21)

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.17:1
vs Black 1.59: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)

#2A2B2C — rgb(42, 43, 44)

Deuteranopia (Green-blind)

#29282C — rgb(41, 40, 44)

Tritanopia (Blue-blind)

#242E2E — rgb(36, 46, 46)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(142, 20%, 17%);

text

color: hsl(142, 20%, 17%);

border

border: 2px solid hsl(142, 20%, 17%);

gradient light

background: linear-gradient(to right, hsl(142, 20%, 37%), hsl(142, 20%, 17%));

gradient dark

background: linear-gradient(to right, hsl(142, 20%, 17%), hsl(142, 20%, 0%))

hex

background-color: #233429;

tailwind

bg-[hsl(142,20%,17%)]

box shadow

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

css variable

--color-primary: hsl(142, 20%, 17%);

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(142, 20%, 17%)?

HEX: #233429 | RGB: rgb(35, 52, 41) | CMYK: 33%, 0%, 21%, 80% | HSV: 141°, 33%, 20%. Copy any format from the conversion table above.

What colors go well with #233429?

The complementary color is HSL(322, 20%, 17%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(142, 20%, 17%) in CSS?

As HSL: color: hsl(142, 20%, 17%); — As HEX: color: #233429; — As RGB: color: rgb(35, 52, 41); — Tailwind CSS: bg-[hsl(142,20%,17%)] — CSS variable: --color-primary: hsl(142, 20%, 17%);