HSL(80, 23%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(80,23%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(80, 23%, 18%) color: hsl(80, 23%, 18%)
HEX #313823 color: #313823
RGB rgb(49, 56, 35) color: rgb(49, 56, 35)
CMYK cmyk(13%, 0%, 38%, 78%)
HSV hsv(80, 38%, 22%)
HWB hwb(80 14% 78%) color: hwb(80 14% 78%)
OKLCH oklch(0.3277 0.0364 123.38) color: oklch(0.3277 0.0364 123.38)
Lab lab(22.31 -7.4 12.18) color: lab(22.31 -7.4 12.18)
LCH lch(22.31 14.25 121.28) color: lch(22.31 14.25 121.28)

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 12.21:1
vs Black 1.72: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)

#343428 — rgb(52, 52, 40)

Deuteranopia (Green-blind)

#343329 — rgb(52, 51, 41)

Tritanopia (Blue-blind)

#312C2D — rgb(49, 44, 45)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(80, 23%, 18%);

text

color: hsl(80, 23%, 18%);

border

border: 2px solid hsl(80, 23%, 18%);

gradient light

background: linear-gradient(to right, hsl(80, 23%, 38%), hsl(80, 23%, 18%));

gradient dark

background: linear-gradient(to right, hsl(80, 23%, 18%), hsl(80, 23%, 0%))

hex

background-color: #313823;

tailwind

bg-[hsl(80,23%,18%)]

box shadow

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

css variable

--color-primary: hsl(80, 23%, 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(80, 23%, 18%)?

HEX: #313823 | RGB: rgb(49, 56, 35) | CMYK: 13%, 0%, 38%, 78% | HSV: 80°, 38%, 22%. Copy any format from the conversion table above.

What colors go well with #313823?

The complementary color is HSL(260, 23%, 18%). For a triadic harmony, use hues 80°, 200°, and 320°. For analogous combinations, try hues 50° and 110°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(80, 23%, 18%) in CSS?

As HSL: color: hsl(80, 23%, 18%); — As HEX: color: #313823; — As RGB: color: rgb(49, 56, 35); — Tailwind CSS: bg-[hsl(80,23%,18%)] — CSS variable: --color-primary: hsl(80, 23%, 18%);