HSL(142, 100%, 30%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(142, 100%, 30%) color: hsl(142, 100%, 30%)
HEX #009938 color: #009938
RGB rgb(0, 153, 56) color: rgb(0, 153, 56)
CMYK cmyk(100%, 0%, 63%, 40%)
HSV hsv(142, 100%, 60%)
HWB hwb(142 0% 40%) color: hwb(142 0% 40%)
OKLCH oklch(0.5951 0.1755 147.28) color: oklch(0.5951 0.1755 147.28)
Lab lab(55.14 -55.09 40.47) color: lab(55.14 -55.09 40.47)
LCH lch(55.14 68.36 143.7) color: lch(55.14 68.36 143.7)

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 3.74:1
vs Black 5.61:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#42444F — rgb(66, 68, 79)

Deuteranopia (Green-blind)

#392E55 — rgb(57, 46, 85)

Tritanopia (Blue-blind)

#086266 — rgb(8, 98, 102)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(142, 100%, 50%), hsl(142, 100%, 30%));

gradient dark

background: linear-gradient(to right, hsl(142, 100%, 30%), hsl(142, 100%, 10%))

hex

background-color: #009938;

tailwind

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

box shadow

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

css variable

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

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

HEX: #009938 | RGB: rgb(0, 153, 56) | CMYK: 100%, 0%, 63%, 40% | HSV: 142°, 100%, 60%. Copy any format from the conversion table above.

What colors go well with #009938?

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

As HSL: color: hsl(142, 100%, 30%); — As HEX: color: #009938; — As RGB: color: rgb(0, 153, 56); — Tailwind CSS: bg-[hsl(142,100%,30%)] — CSS variable: --color-primary: hsl(142, 100%, 30%);