HSL(98, 40%, 70%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(98, 40%, 70%) color: hsl(98, 40%, 70%)
HEX #AAD194 color: #AAD194
RGB rgb(170, 209, 148) color: rgb(170, 209, 148)
CMYK cmyk(19%, 0%, 29%, 18%)
HSV hsv(98, 29%, 82%)
HWB hwb(98 58% 18%) color: hwb(98 58% 18%)
OKLCH oklch(0.8172 0.0926 134.59) color: oklch(0.8172 0.0926 134.59)
Lab lab(79.78 -23.93 26.17) color: lab(79.78 -23.93 26.17)
LCH lch(79.78 35.46 132.44) color: lch(79.78 35.46 132.44)

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.71:1
vs Black 12.26: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)

#BBBBA3 — rgb(187, 187, 163)

Deuteranopia (Green-blind)

#B9B6A6 — rgb(185, 182, 166)

Tritanopia (Blue-blind)

#ACAEB1 — rgb(172, 174, 177)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #AAD194;

tailwind

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

box shadow

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

css variable

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

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

HEX: #AAD194 | RGB: rgb(170, 209, 148) | CMYK: 19%, 0%, 29%, 18% | HSV: 98°, 29%, 82%. Copy any format from the conversion table above.

What colors go well with #AAD194?

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

As HSL: color: hsl(98, 40%, 70%); — As HEX: color: #AAD194; — As RGB: color: rgb(170, 209, 148); — Tailwind CSS: bg-[hsl(98,40%,70%)] — CSS variable: --color-primary: hsl(98, 40%, 70%);