HSL(98, 38%, 68%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(98, 38%, 68%) color: hsl(98, 38%, 68%)
HEX #A5CC8E color: #A5CC8E
RGB rgb(165, 204, 142) color: rgb(165, 204, 142)
CMYK cmyk(19%, 0%, 30%, 20%)
HSV hsv(98, 30%, 80%)
HWB hwb(98 56% 20%) color: hwb(98 56% 20%)
OKLCH oklch(0.8014 0.0941 134.29) color: oklch(0.8014 0.0941 134.29)
Lab lab(77.96 -24.17 26.8) color: lab(77.96 -24.17 26.8)
LCH lch(77.96 36.09 132.05) color: lch(77.96 36.09 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.81:1
vs Black 11.63: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)

#B6B69D — rgb(182, 182, 157)

Deuteranopia (Green-blind)

#B4B1A1 — rgb(180, 177, 161)

Tritanopia (Blue-blind)

#A7A9AB — rgb(167, 169, 171)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #A5CC8E;

tailwind

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

box shadow

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

css variable

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

HEX: #A5CC8E | RGB: rgb(165, 204, 142) | CMYK: 19%, 0%, 30%, 20% | HSV: 98°, 30%, 80%. Copy any format from the conversion table above.

What colors go well with #A5CC8E?

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

As HSL: color: hsl(98, 38%, 68%); — As HEX: color: #A5CC8E; — As RGB: color: rgb(165, 204, 142); — Tailwind CSS: bg-[hsl(98,38%,68%)] — CSS variable: --color-primary: hsl(98, 38%, 68%);