HSL(98, 86%, 29%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(98,86%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(98, 86%, 29%) color: hsl(98, 86%, 29%)
HEX #398A0A color: #398A0A
RGB rgb(57, 138, 10) color: rgb(57, 138, 10)
CMYK cmyk(59%, 0%, 93%, 46%)
HSV hsv(98, 93%, 54%)
HWB hwb(98 4% 46%) color: hwb(98 4% 46%)
OKLCH oklch(0.5607 0.1693 138.01) color: oklch(0.5607 0.1693 138.01)
Lab lab(50.77 -45.38 52.15) color: lab(50.77 -45.38 52.15)
LCH lch(50.77 69.13 131.03) color: lch(50.77 69.13 131.03)

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 4.36:1
vs Black 4.81:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#5C5D29 — rgb(92, 93, 41)

Deuteranopia (Green-blind)

#575130 — rgb(87, 81, 48)

Tritanopia (Blue-blind)

#3D4147 — rgb(61, 65, 71)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(98, 86%, 29%);

text

color: hsl(98, 86%, 29%);

border

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

gradient light

background: linear-gradient(to right, hsl(98, 86%, 49%), hsl(98, 86%, 29%));

gradient dark

background: linear-gradient(to right, hsl(98, 86%, 29%), hsl(98, 86%, 9%))

hex

background-color: #398A0A;

tailwind

bg-[hsl(98,86%,29%)]

box shadow

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

css variable

--color-primary: hsl(98, 86%, 29%);

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

HEX: #398A0A | RGB: rgb(57, 138, 10) | CMYK: 59%, 0%, 93%, 46% | HSV: 98°, 93%, 54%. Copy any format from the conversion table above.

What colors go well with #398A0A?

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

As HSL: color: hsl(98, 86%, 29%); — As HEX: color: #398A0A; — As RGB: color: rgb(57, 138, 10); — Tailwind CSS: bg-[hsl(98,86%,29%)] — CSS variable: --color-primary: hsl(98, 86%, 29%);