HSL(108, 53%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(108,53%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(108, 53%, 21%) color: hsl(108, 53%, 21%)
HEX #255219 color: #255219
RGB rgb(37, 82, 25) color: rgb(37, 82, 25)
CMYK cmyk(55%, 0%, 70%, 68%)
HSV hsv(107, 70%, 32%)
HWB hwb(107 10% 68%) color: hwb(107 10% 68%)
OKLCH oklch(0.3927 0.1 139.62) color: oklch(0.3927 0.1 139.62)
Lab lab(30.64 -27.74 27.94) color: lab(30.64 -27.74 27.94)
LCH lch(30.64 39.37 134.79) color: lch(30.64 39.37 134.79)

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.13:1
vs Black 2.3: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)

#383927 — rgb(56, 57, 39)

Deuteranopia (Green-blind)

#36332A — rgb(54, 51, 42)

Tritanopia (Blue-blind)

#273234 — rgb(39, 50, 52)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(108, 53%, 21%);

text

color: hsl(108, 53%, 21%);

border

border: 2px solid hsl(108, 53%, 21%);

gradient light

background: linear-gradient(to right, hsl(108, 53%, 41%), hsl(108, 53%, 21%));

gradient dark

background: linear-gradient(to right, hsl(108, 53%, 21%), hsl(108, 53%, 1%))

hex

background-color: #255219;

tailwind

bg-[hsl(108,53%,21%)]

box shadow

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

css variable

--color-primary: hsl(108, 53%, 21%);

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(108, 53%, 21%)?

HEX: #255219 | RGB: rgb(37, 82, 25) | CMYK: 55%, 0%, 70%, 68% | HSV: 107°, 70%, 32%. Copy any format from the conversion table above.

What colors go well with #255219?

The complementary color is HSL(288, 53%, 21%). For a triadic harmony, use hues 108°, 228°, and 348°. For analogous combinations, try hues 78° and 138°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(108, 53%, 21%) in CSS?

As HSL: color: hsl(108, 53%, 21%); — As HEX: color: #255219; — As RGB: color: rgb(37, 82, 25); — Tailwind CSS: bg-[hsl(108,53%,21%)] — CSS variable: --color-primary: hsl(108, 53%, 21%);