HSL(140, 12%, 23%)

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(140,12%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(140, 12%, 23%) color: hsl(140, 12%, 23%)
HEX #344238 color: #344238
RGB rgb(52, 66, 56) color: rgb(52, 66, 56)
CMYK cmyk(21%, 0%, 15%, 74%)
HSV hsv(137, 21%, 26%)
HWB hwb(137 21% 74%) color: hwb(137 21% 74%)
OKLCH oklch(0.3633 0.025 153.95) color: oklch(0.3633 0.025 153.95)
Lab lab(26.48 -8.07 4.23) color: lab(26.48 -8.07 4.23)
LCH lch(26.48 9.11 152.34) color: lch(26.48 9.11 152.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 10.59:1
vs Black 1.98: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)

#3A3A3A — rgb(58, 58, 58)

Deuteranopia (Green-blind)

#39383B — rgb(57, 56, 59)

Tritanopia (Blue-blind)

#353C3D — rgb(53, 60, 61)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(140, 12%, 23%);

text

color: hsl(140, 12%, 23%);

border

border: 2px solid hsl(140, 12%, 23%);

gradient light

background: linear-gradient(to right, hsl(140, 12%, 43%), hsl(140, 12%, 23%));

gradient dark

background: linear-gradient(to right, hsl(140, 12%, 23%), hsl(140, 12%, 3%))

hex

background-color: #344238;

tailwind

bg-[hsl(140,12%,23%)]

box shadow

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

css variable

--color-primary: hsl(140, 12%, 23%);

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(140, 12%, 23%)?

HEX: #344238 | RGB: rgb(52, 66, 56) | CMYK: 21%, 0%, 15%, 74% | HSV: 137°, 21%, 26%. Copy any format from the conversion table above.

What colors go well with #344238?

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

How do I use HSL(140, 12%, 23%) in CSS?

As HSL: color: hsl(140, 12%, 23%); — As HEX: color: #344238; — As RGB: color: rgb(52, 66, 56); — Tailwind CSS: bg-[hsl(140,12%,23%)] — CSS variable: --color-primary: hsl(140, 12%, 23%);