HSL(142, 30%, 19%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(142,30%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(142, 30%, 19%) color: hsl(142, 30%, 19%)
HEX #223F2D color: #223F2D
RGB rgb(34, 63, 45) color: rgb(34, 63, 45)
CMYK cmyk(46%, 0%, 29%, 75%)
HSV hsv(143, 46%, 25%)
HWB hwb(143 14% 75%) color: hwb(143 14% 75%)
OKLCH oklch(0.3388 0.0476 155.61) color: oklch(0.3388 0.0476 155.61)
Lab lab(23.95 -15.76 7.69) color: lab(23.95 -15.76 7.69)
LCH lch(23.95 17.54 153.99) color: lch(23.95 17.54 153.99)

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 11.56:1
vs Black 1.82: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)

#2F2F31 — rgb(47, 47, 49)

Deuteranopia (Green-blind)

#2D2B32 — rgb(45, 43, 50)

Tritanopia (Blue-blind)

#233536 — rgb(35, 53, 54)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(142, 30%, 19%);

text

color: hsl(142, 30%, 19%);

border

border: 2px solid hsl(142, 30%, 19%);

gradient light

background: linear-gradient(to right, hsl(142, 30%, 39%), hsl(142, 30%, 19%));

gradient dark

background: linear-gradient(to right, hsl(142, 30%, 19%), hsl(142, 30%, 0%))

hex

background-color: #223F2D;

tailwind

bg-[hsl(142,30%,19%)]

box shadow

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

css variable

--color-primary: hsl(142, 30%, 19%);

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, 30%, 19%)?

HEX: #223F2D | RGB: rgb(34, 63, 45) | CMYK: 46%, 0%, 29%, 75% | HSV: 143°, 46%, 25%. Copy any format from the conversion table above.

What colors go well with #223F2D?

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

As HSL: color: hsl(142, 30%, 19%); — As HEX: color: #223F2D; — As RGB: color: rgb(34, 63, 45); — Tailwind CSS: bg-[hsl(142,30%,19%)] — CSS variable: --color-primary: hsl(142, 30%, 19%);