HSL(125, 21%, 24%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(125,21%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(125, 21%, 24%) color: hsl(125, 21%, 24%)
HEX #304A32 color: #304A32
RGB rgb(48, 74, 50) color: rgb(48, 74, 50)
CMYK cmyk(35%, 0%, 32%, 71%)
HSV hsv(125, 35%, 29%)
HWB hwb(125 19% 71%) color: hwb(125 19% 71%)
OKLCH oklch(0.3806 0.0514 146.35) color: oklch(0.3806 0.0514 146.35)
Lab lab(28.79 -15.68 11.27) color: lab(28.79 -15.68 11.27)
LCH lch(28.79 19.31 144.29) color: lch(28.79 19.31 144.29)

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.76:1
vs Black 2.15: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)

#3B3B38 — rgb(59, 59, 56)

Deuteranopia (Green-blind)

#3A3839 — rgb(58, 56, 57)

Tritanopia (Blue-blind)

#313C3D — rgb(49, 60, 61)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(125, 21%, 24%);

text

color: hsl(125, 21%, 24%);

border

border: 2px solid hsl(125, 21%, 24%);

gradient light

background: linear-gradient(to right, hsl(125, 21%, 44%), hsl(125, 21%, 24%));

gradient dark

background: linear-gradient(to right, hsl(125, 21%, 24%), hsl(125, 21%, 4%))

hex

background-color: #304A32;

tailwind

bg-[hsl(125,21%,24%)]

box shadow

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

css variable

--color-primary: hsl(125, 21%, 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(125, 21%, 24%)?

HEX: #304A32 | RGB: rgb(48, 74, 50) | CMYK: 35%, 0%, 32%, 71% | HSV: 125°, 35%, 29%. Copy any format from the conversion table above.

What colors go well with #304A32?

The complementary color is HSL(305, 21%, 24%). For a triadic harmony, use hues 125°, 245°, and 5°. For analogous combinations, try hues 95° and 155°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(125, 21%, 24%) in CSS?

As HSL: color: hsl(125, 21%, 24%); — As HEX: color: #304A32; — As RGB: color: rgb(48, 74, 50); — Tailwind CSS: bg-[hsl(125,21%,24%)] — CSS variable: --color-primary: hsl(125, 21%, 24%);