HSL(121, 20%, 23%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(121,20%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(121, 20%, 23%) color: hsl(121, 20%, 23%)
HEX #2F462F color: #2F462F
RGB rgb(47, 70, 47) color: rgb(47, 70, 47)
CMYK cmyk(33%, 0%, 33%, 73%)
HSV hsv(120, 33%, 27%)
HWB hwb(120 18% 73%) color: hwb(120 18% 73%)
OKLCH oklch(0.3679 0.0483 144.52) color: oklch(0.3679 0.0483 144.52)
Lab lab(27.27 -14.41 11.09) color: lab(27.27 -14.41 11.09)
LCH lch(27.27 18.18 142.42) color: lch(27.27 18.18 142.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 10.3:1
vs Black 2.04: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)

#393935 — rgb(57, 57, 53)

Deuteranopia (Green-blind)

#383636 — rgb(56, 54, 54)

Tritanopia (Blue-blind)

#30393A — rgb(48, 57, 58)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(121, 20%, 23%);

text

color: hsl(121, 20%, 23%);

border

border: 2px solid hsl(121, 20%, 23%);

gradient light

background: linear-gradient(to right, hsl(121, 20%, 43%), hsl(121, 20%, 23%));

gradient dark

background: linear-gradient(to right, hsl(121, 20%, 23%), hsl(121, 20%, 3%))

hex

background-color: #2F462F;

tailwind

bg-[hsl(121,20%,23%)]

box shadow

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

css variable

--color-primary: hsl(121, 20%, 23%);

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, 20%, 23%)?

HEX: #2F462F | RGB: rgb(47, 70, 47) | CMYK: 33%, 0%, 33%, 73% | HSV: 120°, 33%, 27%. Copy any format from the conversion table above.

What colors go well with #2F462F?

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

As HSL: color: hsl(121, 20%, 23%); — As HEX: color: #2F462F; — As RGB: color: rgb(47, 70, 47); — Tailwind CSS: bg-[hsl(121,20%,23%)] — CSS variable: --color-primary: hsl(121, 20%, 23%);