HSL(102, 80%, 37%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(102,80%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(102, 80%, 37%) color: hsl(102, 80%, 37%)
HEX #40AA13 color: #40AA13
RGB rgb(64, 170, 19) color: rgb(64, 170, 19)
CMYK cmyk(62%, 0%, 89%, 33%)
HSV hsv(102, 89%, 67%)
HWB hwb(102 7% 33%) color: hwb(102 7% 33%)
OKLCH oklch(0.6506 0.1995 139.2) color: oklch(0.6506 0.1995 139.2)
Lab lab(61.55 -54.77 59.74) color: lab(61.55 -54.77 59.74)
LCH lch(61.55 81.05 132.51) color: lch(61.55 81.05 132.51)

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 3.01:1
vs Black 6.98: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)

#6E6F38 — rgb(110, 111, 56)

Deuteranopia (Green-blind)

#686040 — rgb(104, 96, 64)

Tritanopia (Blue-blind)

#45545B — rgb(69, 84, 91)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(102, 80%, 37%);

text

color: hsl(102, 80%, 37%);

border

border: 2px solid hsl(102, 80%, 37%);

gradient light

background: linear-gradient(to right, hsl(102, 80%, 57%), hsl(102, 80%, 37%));

gradient dark

background: linear-gradient(to right, hsl(102, 80%, 37%), hsl(102, 80%, 17%))

hex

background-color: #40AA13;

tailwind

bg-[hsl(102,80%,37%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(102, 80%, 37%, 0.4);

css variable

--color-primary: hsl(102, 80%, 37%);

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(102, 80%, 37%)?

HEX: #40AA13 | RGB: rgb(64, 170, 19) | CMYK: 62%, 0%, 89%, 33% | HSV: 102°, 89%, 67%. Copy any format from the conversion table above.

What colors go well with #40AA13?

The complementary color is HSL(282, 80%, 37%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(102, 80%, 37%) in CSS?

As HSL: color: hsl(102, 80%, 37%); — As HEX: color: #40AA13; — As RGB: color: rgb(64, 170, 19); — Tailwind CSS: bg-[hsl(102,80%,37%)] — CSS variable: --color-primary: hsl(102, 80%, 37%);