HSL(127, 10%, 20%)

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(127,10%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(127, 10%, 20%) color: hsl(127, 10%, 20%)
HEX #2E382F color: #2E382F
RGB rgb(46, 56, 47) color: rgb(46, 56, 47)
CMYK cmyk(18%, 0%, 16%, 78%)
HSV hsv(126, 18%, 22%)
HWB hwb(126 18% 78%) color: hwb(126 18% 78%)
OKLCH oklch(0.3283 0.0207 147.87) color: oklch(0.3283 0.0207 147.87)
Lab lab(22.35 -6.36 4.24) color: lab(22.35 -6.36 4.24)
LCH lch(22.35 7.64 146.31) color: lch(22.35 7.64 146.31)

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.19: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)

#323231 — rgb(50, 50, 49)

Deuteranopia (Green-blind)

#323132 — rgb(50, 49, 50)

Tritanopia (Blue-blind)

#2F3333 — rgb(47, 51, 51)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(127, 10%, 20%);

text

color: hsl(127, 10%, 20%);

border

border: 2px solid hsl(127, 10%, 20%);

gradient light

background: linear-gradient(to right, hsl(127, 10%, 40%), hsl(127, 10%, 20%));

gradient dark

background: linear-gradient(to right, hsl(127, 10%, 20%), hsl(127, 10%, 0%))

hex

background-color: #2E382F;

tailwind

bg-[hsl(127,10%,20%)]

box shadow

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

css variable

--color-primary: hsl(127, 10%, 20%);

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(127, 10%, 20%)?

HEX: #2E382F | RGB: rgb(46, 56, 47) | CMYK: 18%, 0%, 16%, 78% | HSV: 126°, 18%, 22%. Copy any format from the conversion table above.

What colors go well with #2E382F?

The complementary color is HSL(307, 10%, 20%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(127, 10%, 20%) in CSS?

As HSL: color: hsl(127, 10%, 20%); — As HEX: color: #2E382F; — As RGB: color: rgb(46, 56, 47); — Tailwind CSS: bg-[hsl(127,10%,20%)] — CSS variable: --color-primary: hsl(127, 10%, 20%);