HSL(122, 48%, 25%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(122,48%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(122, 48%, 25%) color: hsl(122, 48%, 25%)
HEX #215E23 color: #215E23
RGB rgb(33, 94, 35) color: rgb(33, 94, 35)
CMYK cmyk(65%, 0%, 63%, 63%)
HSV hsv(122, 65%, 37%)
HWB hwb(122 13% 63%) color: hwb(122 13% 63%)
OKLCH oklch(0.4278 0.1105 143.86) color: oklch(0.4278 0.1105 143.86)
Lab lab(34.9 -32.9 27.62) color: lab(34.9 -32.9 27.62)
LCH lch(34.9 42.96 139.99) color: lch(34.9 42.96 139.99)

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.81:1
vs Black 2.69: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)

#3B3C31 — rgb(59, 60, 49)

Deuteranopia (Green-blind)

#383335 — rgb(56, 51, 53)

Tritanopia (Blue-blind)

#243D3F — rgb(36, 61, 63)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(122, 48%, 25%);

text

color: hsl(122, 48%, 25%);

border

border: 2px solid hsl(122, 48%, 25%);

gradient light

background: linear-gradient(to right, hsl(122, 48%, 45%), hsl(122, 48%, 25%));

gradient dark

background: linear-gradient(to right, hsl(122, 48%, 25%), hsl(122, 48%, 5%))

hex

background-color: #215E23;

tailwind

bg-[hsl(122,48%,25%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(122, 48%, 25%, 0.4);

css variable

--color-primary: hsl(122, 48%, 25%);

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(122, 48%, 25%)?

HEX: #215E23 | RGB: rgb(33, 94, 35) | CMYK: 65%, 0%, 63%, 63% | HSV: 122°, 65%, 37%. Copy any format from the conversion table above.

What colors go well with #215E23?

The complementary color is HSL(302, 48%, 25%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(122, 48%, 25%) in CSS?

As HSL: color: hsl(122, 48%, 25%); — As HEX: color: #215E23; — As RGB: color: rgb(33, 94, 35); — Tailwind CSS: bg-[hsl(122,48%,25%)] — CSS variable: --color-primary: hsl(122, 48%, 25%);