HSL(98, 50%, 50%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(98,50%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(98, 50%, 50%) color: hsl(98, 50%, 50%)
HEX #6FBF40 color: #6FBF40
RGB rgb(111, 191, 64) color: rgb(111, 191, 64)
CMYK cmyk(42%, 0%, 66%, 25%)
HSV hsv(98, 66%, 75%)
HWB hwb(98 26% 25%) color: hwb(98 26% 25%)
OKLCH oklch(0.7273 0.1793 135.99) color: oklch(0.7273 0.1793 135.99)
Lab lab(70.18 -46.44 54.36) color: lab(70.18 -46.44 54.36)
LCH lch(70.18 71.5 130.51) color: lch(70.18 71.5 130.51)

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.28:1
vs Black 9.2: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)

#92925F — rgb(146, 146, 95)

Deuteranopia (Green-blind)

#8D8766 — rgb(141, 135, 102)

Tritanopia (Blue-blind)

#73777C — rgb(115, 119, 124)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(98, 50%, 50%);

text

color: hsl(98, 50%, 50%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #6FBF40;

tailwind

bg-[hsl(98,50%,50%)]

box shadow

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

css variable

--color-primary: hsl(98, 50%, 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(98, 50%, 50%)?

HEX: #6FBF40 | RGB: rgb(111, 191, 64) | CMYK: 42%, 0%, 66%, 25% | HSV: 98°, 66%, 75%. Copy any format from the conversion table above.

What colors go well with #6FBF40?

The complementary color is HSL(278, 50%, 50%). For a triadic harmony, use hues 98°, 218°, and 338°. For analogous combinations, try hues 68° and 128°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(98, 50%, 50%); — As HEX: color: #6FBF40; — As RGB: color: rgb(111, 191, 64); — Tailwind CSS: bg-[hsl(98,50%,50%)] — CSS variable: --color-primary: hsl(98, 50%, 50%);