HSL(102, 97%, 36%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(102,97%,36%)]

Color Conversions

Format Value CSS Usage
HSL hsl(102, 97%, 36%) color: hsl(102, 97%, 36%)
HEX #38B503 color: #38B503
RGB rgb(56, 181, 3) color: rgb(56, 181, 3)
CMYK cmyk(69%, 0%, 98%, 29%)
HSV hsv(102, 98%, 71%)
HWB hwb(102 1% 29%) color: hwb(102 1% 29%)
OKLCH oklch(0.6775 0.2173 140) color: oklch(0.6775 0.2173 140)
Lab lab(64.88 -60.58 64.76) color: lab(64.88 -60.58 64.76)
LCH lch(64.88 88.68 133.09) color: lch(64.88 88.68 133.09)

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 2.7:1
vs Black 7.78: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)

#6E6F2E — rgb(110, 111, 46)

Deuteranopia (Green-blind)

#675E38 — rgb(103, 94, 56)

Tritanopia (Blue-blind)

#3E5058 — rgb(62, 80, 88)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(102, 97%, 36%);

text

color: hsl(102, 97%, 36%);

border

border: 2px solid hsl(102, 97%, 36%);

gradient light

background: linear-gradient(to right, hsl(102, 97%, 56%), hsl(102, 97%, 36%));

gradient dark

background: linear-gradient(to right, hsl(102, 97%, 36%), hsl(102, 97%, 16%))

hex

background-color: #38B503;

tailwind

bg-[hsl(102,97%,36%)]

box shadow

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

css variable

--color-primary: hsl(102, 97%, 36%);

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

HEX: #38B503 | RGB: rgb(56, 181, 3) | CMYK: 69%, 0%, 98%, 29% | HSV: 102°, 98%, 71%. Copy any format from the conversion table above.

What colors go well with #38B503?

The complementary color is HSL(282, 97%, 36%). 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, 97%, 36%) in CSS?

As HSL: color: hsl(102, 97%, 36%); — As HEX: color: #38B503; — As RGB: color: rgb(56, 181, 3); — Tailwind CSS: bg-[hsl(102,97%,36%)] — CSS variable: --color-primary: hsl(102, 97%, 36%);