HSL(102, 54%, 33%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(102,54%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(102, 54%, 33%) color: hsl(102, 54%, 33%)
HEX #428227 color: #428227
RGB rgb(66, 130, 39) color: rgb(66, 130, 39)
CMYK cmyk(49%, 0%, 70%, 49%)
HSV hsv(102, 70%, 51%)
HWB hwb(102 15% 49%) color: hwb(102 15% 49%)
OKLCH oklch(0.5442 0.1407 137.9) color: oklch(0.5442 0.1407 137.9)
Lab lab(48.6 -37.8 41.25) color: lab(48.6 -37.8 41.25)
LCH lch(48.6 55.95 132.5) color: lch(48.6 55.95 132.5)

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

#5E5E3D — rgb(94, 94, 61)

Deuteranopia (Green-blind)

#5A5542 — rgb(90, 85, 66)

Tritanopia (Blue-blind)

#454E52 — rgb(69, 78, 82)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(102, 54%, 33%);

text

color: hsl(102, 54%, 33%);

border

border: 2px solid hsl(102, 54%, 33%);

gradient light

background: linear-gradient(to right, hsl(102, 54%, 53%), hsl(102, 54%, 33%));

gradient dark

background: linear-gradient(to right, hsl(102, 54%, 33%), hsl(102, 54%, 13%))

hex

background-color: #428227;

tailwind

bg-[hsl(102,54%,33%)]

box shadow

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

css variable

--color-primary: hsl(102, 54%, 33%);

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

HEX: #428227 | RGB: rgb(66, 130, 39) | CMYK: 49%, 0%, 70%, 49% | HSV: 102°, 70%, 51%. Copy any format from the conversion table above.

What colors go well with #428227?

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

As HSL: color: hsl(102, 54%, 33%); — As HEX: color: #428227; — As RGB: color: rgb(66, 130, 39); — Tailwind CSS: bg-[hsl(102,54%,33%)] — CSS variable: --color-primary: hsl(102, 54%, 33%);