HSL(107, 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(107,10%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(107, 10%, 18%) color: hsl(107, 10%, 18%)
HEX #2B3229 color: #2B3229
RGB rgb(43, 50, 41) color: rgb(43, 50, 41)
CMYK cmyk(14%, 0%, 18%, 80%)
HSV hsv(107, 18%, 20%)
HWB hwb(107 16% 80%) color: hwb(107 16% 80%)
OKLCH oklch(0.3073 0.0185 138.75) color: oklch(0.3073 0.0185 138.75)
Lab lab(19.86 -5.15 4.73) color: lab(19.86 -5.15 4.73)
LCH lch(19.86 6.99 137.43) color: lch(19.86 6.99 137.43)

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.2:1
vs Black 1.59: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)

#2E2E2B — rgb(46, 46, 43)

Deuteranopia (Green-blind)

#2E2D2C — rgb(46, 45, 44)

Tritanopia (Blue-blind)

#2B2D2D — rgb(43, 45, 45)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #2B3229;

tailwind

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

box shadow

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

css variable

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

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

What colors go well with #2B3229?

The complementary color is HSL(287, 10%, 18%). For a triadic harmony, use hues 107°, 227°, and 347°. For analogous combinations, try hues 77° and 137°. See the Color Harmony section above for complete palettes with previews.

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

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