HSL(121, 54%, 34%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(121,54%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(121, 54%, 34%) color: hsl(121, 54%, 34%)
HEX #288629 color: #288629
RGB rgb(40, 134, 41) color: rgb(40, 134, 41)
CMYK cmyk(70%, 0%, 69%, 47%)
HSV hsv(121, 70%, 53%)
HWB hwb(121 16% 47%) color: hwb(121 16% 47%)
OKLCH oklch(0.5458 0.1561 143.2) color: oklch(0.5458 0.1561 143.2)
Lab lab(49.08 -46.07 40.64) color: lab(49.08 -46.07 40.64)
LCH lch(49.08 61.43 138.58) color: lch(49.08 61.43 138.58)

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.63:1
vs Black 4.53:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: PASS ✓

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)

#515240 — rgb(81, 82, 64)

Deuteranopia (Green-blind)

#4B4445 — rgb(75, 68, 69)

Tritanopia (Blue-blind)

#2D5155 — rgb(45, 81, 85)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(121, 54%, 34%);

text

color: hsl(121, 54%, 34%);

border

border: 2px solid hsl(121, 54%, 34%);

gradient light

background: linear-gradient(to right, hsl(121, 54%, 54%), hsl(121, 54%, 34%));

gradient dark

background: linear-gradient(to right, hsl(121, 54%, 34%), hsl(121, 54%, 14%))

hex

background-color: #288629;

tailwind

bg-[hsl(121,54%,34%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(121, 54%, 34%, 0.4);

css variable

--color-primary: hsl(121, 54%, 34%);

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(121, 54%, 34%)?

HEX: #288629 | RGB: rgb(40, 134, 41) | CMYK: 70%, 0%, 69%, 47% | HSV: 121°, 70%, 53%. Copy any format from the conversion table above.

What colors go well with #288629?

The complementary color is HSL(301, 54%, 34%). For a triadic harmony, use hues 121°, 241°, and 1°. For analogous combinations, try hues 91° and 151°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(121, 54%, 34%) in CSS?

As HSL: color: hsl(121, 54%, 34%); — As HEX: color: #288629; — As RGB: color: rgb(40, 134, 41); — Tailwind CSS: bg-[hsl(121,54%,34%)] — CSS variable: --color-primary: hsl(121, 54%, 34%);