HSL(118, 30%, 30%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(118,30%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(118, 30%, 30%) color: hsl(118, 30%, 30%)
HEX #376336 color: #376336
RGB rgb(55, 99, 54) color: rgb(55, 99, 54)
CMYK cmyk(44%, 0%, 45%, 61%)
HSV hsv(119, 45%, 39%)
HWB hwb(119 21% 61%) color: hwb(119 21% 61%)
OKLCH oklch(0.4554 0.0864 143.54) color: oklch(0.4554 0.0864 143.54)
Lab lab(37.85 -25.52 20.9) color: lab(37.85 -25.52 20.9)
LCH lch(37.85 32.99 140.68) color: lch(37.85 32.99 140.68)

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

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#4A4A41 — rgb(74, 74, 65)

Deuteranopia (Green-blind)

#484444 — rgb(72, 68, 68)

Tritanopia (Blue-blind)

#39494B — rgb(57, 73, 75)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(118, 30%, 30%);

text

color: hsl(118, 30%, 30%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #376336;

tailwind

bg-[hsl(118,30%,30%)]

box shadow

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

css variable

--color-primary: hsl(118, 30%, 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(118, 30%, 30%)?

HEX: #376336 | RGB: rgb(55, 99, 54) | CMYK: 44%, 0%, 45%, 61% | HSV: 119°, 45%, 39%. Copy any format from the conversion table above.

What colors go well with #376336?

The complementary color is HSL(298, 30%, 30%). For a triadic harmony, use hues 118°, 238°, and 358°. For analogous combinations, try hues 88° and 148°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(118, 30%, 30%) in CSS?

As HSL: color: hsl(118, 30%, 30%); — As HEX: color: #376336; — As RGB: color: rgb(55, 99, 54); — Tailwind CSS: bg-[hsl(118,30%,30%)] — CSS variable: --color-primary: hsl(118, 30%, 30%);