HSL(148, 24%, 40%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(148, 24%, 40%) color: hsl(148, 24%, 40%)
HEX #4E7E64 color: #4E7E64
RGB rgb(78, 126, 100) color: rgb(78, 126, 100)
CMYK cmyk(38%, 0%, 21%, 51%)
HSV hsv(148, 38%, 49%)
HWB hwb(148 30% 51%) color: hwb(148 30% 51%)
OKLCH oklch(0.5509 0.0666 159.5) color: oklch(0.5509 0.0666 159.5)
Lab lab(48.84 -22.5 9.08) color: lab(48.84 -22.5 9.08)
LCH lch(48.84 24.26 158.02) color: lch(48.84 24.26 158.02)

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 4.67:1
vs Black 4.49:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#63636A — rgb(99, 99, 106)

Deuteranopia (Green-blind)

#605C6C — rgb(96, 92, 108)

Tritanopia (Blue-blind)

#506F70 — rgb(80, 111, 112)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(148, 24%, 60%), hsl(148, 24%, 40%));

gradient dark

background: linear-gradient(to right, hsl(148, 24%, 40%), hsl(148, 24%, 20%))

hex

background-color: #4E7E64;

tailwind

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

box shadow

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

css variable

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

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

HEX: #4E7E64 | RGB: rgb(78, 126, 100) | CMYK: 38%, 0%, 21%, 51% | HSV: 148°, 38%, 49%. Copy any format from the conversion table above.

What colors go well with #4E7E64?

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

As HSL: color: hsl(148, 24%, 40%); — As HEX: color: #4E7E64; — As RGB: color: rgb(78, 126, 100); — Tailwind CSS: bg-[hsl(148,24%,40%)] — CSS variable: --color-primary: hsl(148, 24%, 40%);