HSL(102, 34%, 50%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(102,34%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(102, 34%, 50%) color: hsl(102, 34%, 50%)
HEX #6EAB54 color: #6EAB54
RGB rgb(110, 171, 84) color: rgb(110, 171, 84)
CMYK cmyk(36%, 0%, 51%, 33%)
HSV hsv(102, 51%, 67%)
HWB hwb(102 33% 33%) color: hwb(102 33% 33%)
OKLCH oklch(0.6792 0.1354 137.11) color: oklch(0.6792 0.1354 137.11)
Lab lab(64.23 -36.07 38.39) color: lab(64.23 -36.07 38.39)
LCH lch(64.23 52.68 133.22) color: lch(64.23 52.68 133.22)

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 2.76:1
vs Black 7.62:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#888969 — rgb(136, 137, 105)

Deuteranopia (Green-blind)

#85806E — rgb(133, 128, 110)

Tritanopia (Blue-blind)

#717A7D — rgb(113, 122, 125)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(102, 34%, 50%);

text

color: hsl(102, 34%, 50%);

border

border: 2px solid hsl(102, 34%, 50%);

gradient light

background: linear-gradient(to right, hsl(102, 34%, 70%), hsl(102, 34%, 50%));

gradient dark

background: linear-gradient(to right, hsl(102, 34%, 50%), hsl(102, 34%, 30%))

hex

background-color: #6EAB54;

tailwind

bg-[hsl(102,34%,50%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(102, 34%, 50%, 0.4);

css variable

--color-primary: hsl(102, 34%, 50%);

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(102, 34%, 50%)?

HEX: #6EAB54 | RGB: rgb(110, 171, 84) | CMYK: 36%, 0%, 51%, 33% | HSV: 102°, 51%, 67%. Copy any format from the conversion table above.

What colors go well with #6EAB54?

The complementary color is HSL(282, 34%, 50%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(102, 34%, 50%) in CSS?

As HSL: color: hsl(102, 34%, 50%); — As HEX: color: #6EAB54; — As RGB: color: rgb(110, 171, 84); — Tailwind CSS: bg-[hsl(102,34%,50%)] — CSS variable: --color-primary: hsl(102, 34%, 50%);