HSL(121, 32%, 27%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(121,32%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(121, 32%, 27%) color: hsl(121, 32%, 27%)
HEX #2F5B30 color: #2F5B30
RGB rgb(47, 91, 48) color: rgb(47, 91, 48)
CMYK cmyk(48%, 0%, 47%, 64%)
HSV hsv(121, 48%, 36%)
HWB hwb(121 19% 64%) color: hwb(121 19% 64%)
OKLCH oklch(0.4275 0.0848 144.37) color: oklch(0.4275 0.0848 144.37)
Lab lab(34.6 -25.33 20.15) color: lab(34.6 -25.33 20.15)
LCH lch(34.6 32.37 141.5) color: lch(34.6 32.37 141.5)

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 7.89:1
vs Black 2.66: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)

#42423A — rgb(66, 66, 58)

Deuteranopia (Green-blind)

#403C3D — rgb(64, 60, 61)

Tritanopia (Blue-blind)

#314344 — rgb(49, 67, 68)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(121, 32%, 27%);

text

color: hsl(121, 32%, 27%);

border

border: 2px solid hsl(121, 32%, 27%);

gradient light

background: linear-gradient(to right, hsl(121, 32%, 47%), hsl(121, 32%, 27%));

gradient dark

background: linear-gradient(to right, hsl(121, 32%, 27%), hsl(121, 32%, 7%))

hex

background-color: #2F5B30;

tailwind

bg-[hsl(121,32%,27%)]

box shadow

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

css variable

--color-primary: hsl(121, 32%, 27%);

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, 32%, 27%)?

HEX: #2F5B30 | RGB: rgb(47, 91, 48) | CMYK: 48%, 0%, 47%, 64% | HSV: 121°, 48%, 36%. Copy any format from the conversion table above.

What colors go well with #2F5B30?

The complementary color is HSL(301, 32%, 27%). 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, 32%, 27%) in CSS?

As HSL: color: hsl(121, 32%, 27%); — As HEX: color: #2F5B30; — As RGB: color: rgb(47, 91, 48); — Tailwind CSS: bg-[hsl(121,32%,27%)] — CSS variable: --color-primary: hsl(121, 32%, 27%);