HSL(148, 30%, 24%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(148,30%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(148, 30%, 24%) color: hsl(148, 30%, 24%)
HEX #2B503C color: #2B503C
RGB rgb(43, 80, 60) color: rgb(43, 80, 60)
CMYK cmyk(46%, 0%, 25%, 69%)
HSV hsv(148, 46%, 31%)
HWB hwb(148 17% 69%) color: hwb(148 17% 69%)
OKLCH oklch(0.3971 0.0549 158.9) color: oklch(0.3971 0.0549 158.9)
Lab lab(30.82 -18.56 7.72) color: lab(30.82 -18.56 7.72)
LCH lch(30.82 20.1 157.42) color: lch(30.82 20.1 157.42)

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 9.07:1
vs Black 2.32: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)

#3B3B41 — rgb(59, 59, 65)

Deuteranopia (Green-blind)

#393642 — rgb(57, 54, 66)

Tritanopia (Blue-blind)

#2D4546 — rgb(45, 69, 70)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(148, 30%, 24%);

text

color: hsl(148, 30%, 24%);

border

border: 2px solid hsl(148, 30%, 24%);

gradient light

background: linear-gradient(to right, hsl(148, 30%, 44%), hsl(148, 30%, 24%));

gradient dark

background: linear-gradient(to right, hsl(148, 30%, 24%), hsl(148, 30%, 4%))

hex

background-color: #2B503C;

tailwind

bg-[hsl(148,30%,24%)]

box shadow

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

css variable

--color-primary: hsl(148, 30%, 24%);

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, 30%, 24%)?

HEX: #2B503C | RGB: rgb(43, 80, 60) | CMYK: 46%, 0%, 25%, 69% | HSV: 148°, 46%, 31%. Copy any format from the conversion table above.

What colors go well with #2B503C?

The complementary color is HSL(328, 30%, 24%). 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, 30%, 24%) in CSS?

As HSL: color: hsl(148, 30%, 24%); — As HEX: color: #2B503C; — As RGB: color: rgb(43, 80, 60); — Tailwind CSS: bg-[hsl(148,30%,24%)] — CSS variable: --color-primary: hsl(148, 30%, 24%);