HSL(148, 47%, 23%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(148,47%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(148, 47%, 23%) color: hsl(148, 47%, 23%)
HEX #1F5639 color: #1F5639
RGB rgb(31, 86, 57) color: rgb(31, 86, 57)
CMYK cmyk(64%, 0%, 34%, 66%)
HSV hsv(148, 64%, 34%)
HWB hwb(148 12% 66%) color: hwb(148 12% 66%)
OKLCH oklch(0.4078 0.0762 157.27) color: oklch(0.4078 0.0762 157.27)
Lab lab(32.35 -25.79 11.63) color: lab(32.35 -25.79 11.63)
LCH lch(32.35 28.29 155.73) color: lch(32.35 28.29 155.73)

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.58:1
vs Black 2.45: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)

#373740 — rgb(55, 55, 64)

Deuteranopia (Green-blind)

#343042 — rgb(52, 48, 66)

Tritanopia (Blue-blind)

#224647 — rgb(34, 70, 71)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(148, 47%, 23%);

text

color: hsl(148, 47%, 23%);

border

border: 2px solid hsl(148, 47%, 23%);

gradient light

background: linear-gradient(to right, hsl(148, 47%, 43%), hsl(148, 47%, 23%));

gradient dark

background: linear-gradient(to right, hsl(148, 47%, 23%), hsl(148, 47%, 3%))

hex

background-color: #1F5639;

tailwind

bg-[hsl(148,47%,23%)]

box shadow

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

css variable

--color-primary: hsl(148, 47%, 23%);

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(148, 47%, 23%)?

HEX: #1F5639 | RGB: rgb(31, 86, 57) | CMYK: 64%, 0%, 34%, 66% | HSV: 148°, 64%, 34%. Copy any format from the conversion table above.

What colors go well with #1F5639?

The complementary color is HSL(328, 47%, 23%). For a triadic harmony, use hues 148°, 268°, and 28°. For analogous combinations, try hues 118° and 178°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(148, 47%, 23%) in CSS?

As HSL: color: hsl(148, 47%, 23%); — As HEX: color: #1F5639; — As RGB: color: rgb(31, 86, 57); — Tailwind CSS: bg-[hsl(148,47%,23%)] — CSS variable: --color-primary: hsl(148, 47%, 23%);