HSL(87, 98%, 38%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,98%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 98%, 38%) color: hsl(87, 98%, 38%)
HEX #6AC002 color: #6AC002
RGB rgb(106, 192, 2) color: rgb(106, 192, 2)
CMYK cmyk(45%, 0%, 99%, 25%)
HSV hsv(87, 99%, 75%)
HWB hwb(87 1% 25%) color: hwb(87 1% 25%)
OKLCH oklch(0.7245 0.2078 134.09) color: oklch(0.7245 0.2078 134.09)
Lab lab(70.01 -51.22 69.66) color: lab(70.01 -51.22 69.66)
LCH lch(70.01 86.46 126.33) color: lch(70.01 86.46 126.33)

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.29:1
vs Black 9.15: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)

#8F9030 — rgb(143, 144, 48)

Deuteranopia (Green-blind)

#8A843B — rgb(138, 132, 59)

Tritanopia (Blue-blind)

#6E545C — rgb(110, 84, 92)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 98%, 38%);

text

color: hsl(87, 98%, 38%);

border

border: 2px solid hsl(87, 98%, 38%);

gradient light

background: linear-gradient(to right, hsl(87, 98%, 58%), hsl(87, 98%, 38%));

gradient dark

background: linear-gradient(to right, hsl(87, 98%, 38%), hsl(87, 98%, 18%))

hex

background-color: #6AC002;

tailwind

bg-[hsl(87,98%,38%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(87, 98%, 38%, 0.4);

css variable

--color-primary: hsl(87, 98%, 38%);

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(87, 98%, 38%)?

HEX: #6AC002 | RGB: rgb(106, 192, 2) | CMYK: 45%, 0%, 99%, 25% | HSV: 87°, 99%, 75%. Copy any format from the conversion table above.

What colors go well with #6AC002?

The complementary color is HSL(267, 98%, 38%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(87, 98%, 38%) in CSS?

As HSL: color: hsl(87, 98%, 38%); — As HEX: color: #6AC002; — As RGB: color: rgb(106, 192, 2); — Tailwind CSS: bg-[hsl(87,98%,38%)] — CSS variable: --color-primary: hsl(87, 98%, 38%);