HSL(78, 33%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(78,33%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(78, 33%, 18%) color: hsl(78, 33%, 18%)
HEX #343D1F color: #343D1F
RGB rgb(52, 61, 31) color: rgb(52, 61, 31)
CMYK cmyk(15%, 0%, 49%, 76%)
HSV hsv(78, 49%, 24%)
HWB hwb(78 12% 76%) color: hwb(78 12% 76%)
OKLCH oklch(0.3433 0.0497 122.69) color: oklch(0.3433 0.0497 122.69)
Lab lab(24.21 -9.69 17.24) color: lab(24.21 -9.69 17.24)
LCH lch(24.21 19.78 119.34) color: lch(24.21 19.78 119.34)

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.45:1
vs Black 1.83: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)

#383826 — rgb(56, 56, 38)

Deuteranopia (Green-blind)

#373728 — rgb(55, 55, 40)

Tritanopia (Blue-blind)

#342C2D — rgb(52, 44, 45)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(78, 33%, 18%);

text

color: hsl(78, 33%, 18%);

border

border: 2px solid hsl(78, 33%, 18%);

gradient light

background: linear-gradient(to right, hsl(78, 33%, 38%), hsl(78, 33%, 18%));

gradient dark

background: linear-gradient(to right, hsl(78, 33%, 18%), hsl(78, 33%, 0%))

hex

background-color: #343D1F;

tailwind

bg-[hsl(78,33%,18%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(78, 33%, 18%, 0.4);

css variable

--color-primary: hsl(78, 33%, 18%);

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(78, 33%, 18%)?

HEX: #343D1F | RGB: rgb(52, 61, 31) | CMYK: 15%, 0%, 49%, 76% | HSV: 78°, 49%, 24%. Copy any format from the conversion table above.

What colors go well with #343D1F?

The complementary color is HSL(258, 33%, 18%). For a triadic harmony, use hues 78°, 198°, and 318°. For analogous combinations, try hues 48° and 108°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(78, 33%, 18%) in CSS?

As HSL: color: hsl(78, 33%, 18%); — As HEX: color: #343D1F; — As RGB: color: rgb(52, 61, 31); — Tailwind CSS: bg-[hsl(78,33%,18%)] — CSS variable: --color-primary: hsl(78, 33%, 18%);