HSL(98, 40%, 68%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(98, 40%, 68%) color: hsl(98, 40%, 68%)
HEX #A5CE8D color: #A5CE8D
RGB rgb(165, 206, 141) color: rgb(165, 206, 141)
CMYK cmyk(20%, 0%, 32%, 19%)
HSV hsv(98, 32%, 81%)
HWB hwb(98 55% 19%) color: hwb(98 55% 19%)
OKLCH oklch(0.8057 0.0984 134.38) color: oklch(0.8057 0.0984 134.38)
Lab lab(78.5 -25.3 28.05) color: lab(78.5 -25.3 28.05)
LCH lch(78.5 37.77 132.05) color: lch(78.5 37.77 132.05)

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.78:1
vs Black 11.81: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)

#B7B79D — rgb(183, 183, 157)

Deuteranopia (Green-blind)

#B4B1A1 — rgb(180, 177, 161)

Tritanopia (Blue-blind)

#A7A9AC — rgb(167, 169, 172)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(98, 40%, 88%), hsl(98, 40%, 68%));

gradient dark

background: linear-gradient(to right, hsl(98, 40%, 68%), hsl(98, 40%, 48%))

hex

background-color: #A5CE8D;

tailwind

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

box shadow

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

css variable

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

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

HEX: #A5CE8D | RGB: rgb(165, 206, 141) | CMYK: 20%, 0%, 32%, 19% | HSV: 98°, 32%, 81%. Copy any format from the conversion table above.

What colors go well with #A5CE8D?

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

As HSL: color: hsl(98, 40%, 68%); — As HEX: color: #A5CE8D; — As RGB: color: rgb(165, 206, 141); — Tailwind CSS: bg-[hsl(98,40%,68%)] — CSS variable: --color-primary: hsl(98, 40%, 68%);