HSL(119, 25%, 42%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(119,25%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(119, 25%, 42%) color: hsl(119, 25%, 42%)
HEX #518650 color: #518650
RGB rgb(81, 134, 80) color: rgb(81, 134, 80)
CMYK cmyk(40%, 0%, 40%, 47%)
HSV hsv(119, 40%, 53%)
HWB hwb(119 32% 47%) color: hwb(119 32% 47%)
OKLCH oklch(0.5685 0.0991 143.74) color: oklch(0.5685 0.0991 143.74)
Lab lab(51.13 -29.33 23.66) color: lab(51.13 -29.33 23.66)
LCH lch(51.13 37.68 141.11) color: lch(51.13 37.68 141.11)

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 4.31:1
vs Black 4.88:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#68685D — rgb(104, 104, 93)

Deuteranopia (Green-blind)

#656160 — rgb(101, 97, 96)

Tritanopia (Blue-blind)

#54676A — rgb(84, 103, 106)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(119, 25%, 42%);

text

color: hsl(119, 25%, 42%);

border

border: 2px solid hsl(119, 25%, 42%);

gradient light

background: linear-gradient(to right, hsl(119, 25%, 62%), hsl(119, 25%, 42%));

gradient dark

background: linear-gradient(to right, hsl(119, 25%, 42%), hsl(119, 25%, 22%))

hex

background-color: #518650;

tailwind

bg-[hsl(119,25%,42%)]

box shadow

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

css variable

--color-primary: hsl(119, 25%, 42%);

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(119, 25%, 42%)?

HEX: #518650 | RGB: rgb(81, 134, 80) | CMYK: 40%, 0%, 40%, 47% | HSV: 119°, 40%, 53%. Copy any format from the conversion table above.

What colors go well with #518650?

The complementary color is HSL(299, 25%, 42%). For a triadic harmony, use hues 119°, 239°, and 359°. For analogous combinations, try hues 89° and 149°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(119, 25%, 42%) in CSS?

As HSL: color: hsl(119, 25%, 42%); — As HEX: color: #518650; — As RGB: color: rgb(81, 134, 80); — Tailwind CSS: bg-[hsl(119,25%,42%)] — CSS variable: --color-primary: hsl(119, 25%, 42%);