HSL(138, 53%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(138, 53%, 21%) color: hsl(138, 53%, 21%)
HEX #19522A color: #19522A
RGB rgb(25, 82, 42) color: rgb(25, 82, 42)
CMYK cmyk(70%, 0%, 49%, 68%)
HSV hsv(138, 70%, 32%)
HWB hwb(138 10% 68%) color: hwb(138 10% 68%)
OKLCH oklch(0.3905 0.0891 149.96) color: oklch(0.3905 0.0891 149.96)
Lab lab(30.42 -28.58 18.15) color: lab(30.42 -28.58 18.15)
LCH lch(30.42 33.86 147.58) color: lch(30.42 33.86 147.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 9.2:1
vs Black 2.28: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)

#323234 — rgb(50, 50, 52)

Deuteranopia (Green-blind)

#2E2A36 — rgb(46, 42, 54)

Tritanopia (Blue-blind)

#1C3B3D — rgb(28, 59, 61)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #19522A;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(138, 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(138, 53%, 21%)?

HEX: #19522A | RGB: rgb(25, 82, 42) | CMYK: 70%, 0%, 49%, 68% | HSV: 138°, 70%, 32%. Copy any format from the conversion table above.

What colors go well with #19522A?

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

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

As HSL: color: hsl(138, 53%, 21%); — As HEX: color: #19522A; — As RGB: color: rgb(25, 82, 42); — Tailwind CSS: bg-[hsl(138,53%,21%)] — CSS variable: --color-primary: hsl(138, 53%, 21%);