HSL(139, 21%, 28%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(139,21%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(139, 21%, 28%) color: hsl(139, 21%, 28%)
HEX #385642 color: #385642
RGB rgb(56, 86, 66) color: rgb(56, 86, 66)
CMYK cmyk(35%, 0%, 23%, 66%)
HSV hsv(140, 35%, 34%)
HWB hwb(140 22% 66%) color: hwb(140 22% 66%)
OKLCH oklch(0.4232 0.0489 154.62) color: oklch(0.4232 0.0489 154.62)
Lab lab(33.75 -16.01 8.17) color: lab(33.75 -16.01 8.17)
LCH lch(33.75 17.97 152.96) color: lch(33.75 17.97 152.96)

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 8.15:1
vs Black 2.58: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)

#454547 — rgb(69, 69, 71)

Deuteranopia (Green-blind)

#434148 — rgb(67, 65, 72)

Tritanopia (Blue-blind)

#3A4B4C — rgb(58, 75, 76)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(139, 21%, 28%);

text

color: hsl(139, 21%, 28%);

border

border: 2px solid hsl(139, 21%, 28%);

gradient light

background: linear-gradient(to right, hsl(139, 21%, 48%), hsl(139, 21%, 28%));

gradient dark

background: linear-gradient(to right, hsl(139, 21%, 28%), hsl(139, 21%, 8%))

hex

background-color: #385642;

tailwind

bg-[hsl(139,21%,28%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(139, 21%, 28%, 0.4);

css variable

--color-primary: hsl(139, 21%, 28%);

Related Colors

Use Cases for Green

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

Frequently Asked Questions

What are all the color codes for HSL(139, 21%, 28%)?

HEX: #385642 | RGB: rgb(56, 86, 66) | CMYK: 35%, 0%, 23%, 66% | HSV: 140°, 35%, 34%. Copy any format from the conversion table above.

What colors go well with #385642?

The complementary color is HSL(319, 21%, 28%). For a triadic harmony, use hues 139°, 259°, and 19°. For analogous combinations, try hues 109° and 169°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(139, 21%, 28%) in CSS?

As HSL: color: hsl(139, 21%, 28%); — As HEX: color: #385642; — As RGB: color: rgb(56, 86, 66); — Tailwind CSS: bg-[hsl(139,21%,28%)] — CSS variable: --color-primary: hsl(139, 21%, 28%);