HSL(102, 75%, 28%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(102,75%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(102, 75%, 28%) color: hsl(102, 75%, 28%)
HEX #327D12 color: #327D12
RGB rgb(50, 125, 18) color: rgb(50, 125, 18)
CMYK cmyk(60%, 0%, 86%, 51%)
HSV hsv(102, 86%, 49%)
HWB hwb(102 7% 51%) color: hwb(102 7% 51%)
OKLCH oklch(0.522 0.1546 138.77) color: oklch(0.522 0.1546 138.77)
Lab lab(46.16 -42.1 46.23) color: lab(46.16 -42.1 46.23)
LCH lch(46.16 62.53 132.32) color: lch(46.16 62.53 132.32)

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 5.15:1
vs Black 4.08:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#52532C — rgb(82, 83, 44)

Deuteranopia (Green-blind)

#4E4932 — rgb(78, 73, 50)

Tritanopia (Blue-blind)

#364045 — rgb(54, 64, 69)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(102, 75%, 28%);

text

color: hsl(102, 75%, 28%);

border

border: 2px solid hsl(102, 75%, 28%);

gradient light

background: linear-gradient(to right, hsl(102, 75%, 48%), hsl(102, 75%, 28%));

gradient dark

background: linear-gradient(to right, hsl(102, 75%, 28%), hsl(102, 75%, 8%))

hex

background-color: #327D12;

tailwind

bg-[hsl(102,75%,28%)]

box shadow

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

css variable

--color-primary: hsl(102, 75%, 28%);

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

HEX: #327D12 | RGB: rgb(50, 125, 18) | CMYK: 60%, 0%, 86%, 51% | HSV: 102°, 86%, 49%. Copy any format from the conversion table above.

What colors go well with #327D12?

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

As HSL: color: hsl(102, 75%, 28%); — As HEX: color: #327D12; — As RGB: color: rgb(50, 125, 18); — Tailwind CSS: bg-[hsl(102,75%,28%)] — CSS variable: --color-primary: hsl(102, 75%, 28%);