HSL(98, 40%, 63%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(98,40%,63%)]

Color Conversions

Format Value CSS Usage
HSL hsl(98, 40%, 63%) color: hsl(98, 40%, 63%)
HEX #97C67B color: #97C67B
RGB rgb(151, 198, 123) color: rgb(151, 198, 123)
CMYK cmyk(24%, 0%, 38%, 22%)
HSV hsv(98, 38%, 78%)
HWB hwb(98 48% 22%) color: hwb(98 48% 22%)
OKLCH oklch(0.775 0.1133 134.48) color: oklch(0.775 0.1133 134.48)
Lab lab(75.07 -29.03 32.7) color: lab(75.07 -29.03 32.7)
LCH lch(75.07 43.73 131.6) color: lch(75.07 43.73 131.6)

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 1.97:1
vs Black 10.68: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)

#ABAC8D — rgb(171, 172, 141)

Deuteranopia (Green-blind)

#A9A592 — rgb(169, 165, 146)

Tritanopia (Blue-blind)

#999B9F — rgb(153, 155, 159)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(98, 40%, 63%);

text

color: hsl(98, 40%, 63%);

border

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

gradient light

background: linear-gradient(to right, hsl(98, 40%, 83%), hsl(98, 40%, 63%));

gradient dark

background: linear-gradient(to right, hsl(98, 40%, 63%), hsl(98, 40%, 43%))

hex

background-color: #97C67B;

tailwind

bg-[hsl(98,40%,63%)]

box shadow

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

css variable

--color-primary: hsl(98, 40%, 63%);

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, 40%, 63%)?

HEX: #97C67B | RGB: rgb(151, 198, 123) | CMYK: 24%, 0%, 38%, 22% | HSV: 98°, 38%, 78%. Copy any format from the conversion table above.

What colors go well with #97C67B?

The complementary color is HSL(278, 40%, 63%). 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, 40%, 63%) in CSS?

As HSL: color: hsl(98, 40%, 63%); — As HEX: color: #97C67B; — As RGB: color: rgb(151, 198, 123); — Tailwind CSS: bg-[hsl(98,40%,63%)] — CSS variable: --color-primary: hsl(98, 40%, 63%);