HSL(140, 13%, 15%)

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,13%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(140, 13%, 15%) color: hsl(140, 13%, 15%)
HEX #212B25 color: #212B25
RGB rgb(33, 43, 37) color: rgb(33, 43, 37)
CMYK cmyk(23%, 0%, 14%, 83%)
HSV hsv(144, 23%, 17%)
HWB hwb(144 13% 83%) color: hwb(144 13% 83%)
OKLCH oklch(0.2774 0.0177 158.68) color: oklch(0.2774 0.0177 158.68)
Lab lab(16.43 -5.89 2.48) color: lab(16.43 -5.89 2.48)
LCH lch(16.43 6.39 157.17) color: lch(16.43 6.39 157.17)

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 14.61:1
vs Black 1.44: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)

#252526 — rgb(37, 37, 38)

Deuteranopia (Green-blind)

#252427 — rgb(37, 36, 39)

Tritanopia (Blue-blind)

#222828 — rgb(34, 40, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(140, 13%, 15%);

text

color: hsl(140, 13%, 15%);

border

border: 2px solid hsl(140, 13%, 15%);

gradient light

background: linear-gradient(to right, hsl(140, 13%, 35%), hsl(140, 13%, 15%));

gradient dark

background: linear-gradient(to right, hsl(140, 13%, 15%), hsl(140, 13%, 0%))

hex

background-color: #212B25;

tailwind

bg-[hsl(140,13%,15%)]

box shadow

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

css variable

--color-primary: hsl(140, 13%, 15%);

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, 13%, 15%)?

HEX: #212B25 | RGB: rgb(33, 43, 37) | CMYK: 23%, 0%, 14%, 83% | HSV: 144°, 23%, 17%. Copy any format from the conversion table above.

What colors go well with #212B25?

The complementary color is HSL(320, 13%, 15%). 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, 13%, 15%) in CSS?

As HSL: color: hsl(140, 13%, 15%); — As HEX: color: #212B25; — As RGB: color: rgb(33, 43, 37); — Tailwind CSS: bg-[hsl(140,13%,15%)] — CSS variable: --color-primary: hsl(140, 13%, 15%);