HSL(81, 10%, 18%)

Grayish Green — Green color

Adjust Color

Color Information

Color Name

Grayish Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(81,10%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(81, 10%, 18%) color: hsl(81, 10%, 18%)
HEX #2F3229 color: #2F3229
RGB rgb(47, 50, 41) color: rgb(47, 50, 41)
CMYK cmyk(6%, 0%, 18%, 80%)
HSV hsv(80, 18%, 20%)
HWB hwb(80 16% 80%) color: hwb(80 16% 80%)
OKLCH oklch(0.3111 0.0162 122.34) color: oklch(0.3111 0.0162 122.34)
Lab lab(20.23 -3.34 5.29) color: lab(20.23 -3.34 5.29)
LCH lch(20.23 6.26 122.27) color: lch(20.23 6.26 122.27)

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 13.05:1
vs Black 1.61: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)

#30302B — rgb(48, 48, 43)

Deuteranopia (Green-blind)

#30302C — rgb(48, 48, 44)

Tritanopia (Blue-blind)

#2F2D2D — rgb(47, 45, 45)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(81, 10%, 18%);

text

color: hsl(81, 10%, 18%);

border

border: 2px solid hsl(81, 10%, 18%);

gradient light

background: linear-gradient(to right, hsl(81, 10%, 38%), hsl(81, 10%, 18%));

gradient dark

background: linear-gradient(to right, hsl(81, 10%, 18%), hsl(81, 10%, 0%))

hex

background-color: #2F3229;

tailwind

bg-[hsl(81,10%,18%)]

box shadow

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

css variable

--color-primary: hsl(81, 10%, 18%);

Related Colors

Use Cases for Grayish Green

Success states Eco/nature brands Finance apps Health apps Confirm buttons

Frequently Asked Questions

What are all the color codes for HSL(81, 10%, 18%)?

HEX: #2F3229 | RGB: rgb(47, 50, 41) | CMYK: 6%, 0%, 18%, 80% | HSV: 80°, 18%, 20%. Copy any format from the conversion table above.

What colors go well with #2F3229?

The complementary color is HSL(261, 10%, 18%). For a triadic harmony, use hues 81°, 201°, and 321°. For analogous combinations, try hues 51° and 111°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(81, 10%, 18%) in CSS?

As HSL: color: hsl(81, 10%, 18%); — As HEX: color: #2F3229; — As RGB: color: rgb(47, 50, 41); — Tailwind CSS: bg-[hsl(81,10%,18%)] — CSS variable: --color-primary: hsl(81, 10%, 18%);