HSL(82, 57%, 28%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(82,57%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(82, 57%, 28%) color: hsl(82, 57%, 28%)
HEX #52701F color: #52701F
RGB rgb(82, 112, 31) color: rgb(82, 112, 31)
CMYK cmyk(27%, 0%, 72%, 56%)
HSV hsv(82, 72%, 44%)
HWB hwb(82 12% 56%) color: hwb(82 12% 56%)
OKLCH oklch(0.5045 0.113 127.65) color: oklch(0.5045 0.113 127.65)
Lab lab(43.48 -24.16 39.59) color: lab(43.48 -24.16 39.59)
LCH lch(43.48 46.38 121.39) color: lch(43.48 46.38 121.39)

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.68:1
vs Black 3.7: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)

#5F5F33 — rgb(95, 95, 51)

Deuteranopia (Green-blind)

#5D5B37 — rgb(93, 91, 55)

Tritanopia (Blue-blind)

#544245 — rgb(84, 66, 69)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(82, 57%, 28%);

text

color: hsl(82, 57%, 28%);

border

border: 2px solid hsl(82, 57%, 28%);

gradient light

background: linear-gradient(to right, hsl(82, 57%, 48%), hsl(82, 57%, 28%));

gradient dark

background: linear-gradient(to right, hsl(82, 57%, 28%), hsl(82, 57%, 8%))

hex

background-color: #52701F;

tailwind

bg-[hsl(82,57%,28%)]

box shadow

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

css variable

--color-primary: hsl(82, 57%, 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(82, 57%, 28%)?

HEX: #52701F | RGB: rgb(82, 112, 31) | CMYK: 27%, 0%, 72%, 56% | HSV: 82°, 72%, 44%. Copy any format from the conversion table above.

What colors go well with #52701F?

The complementary color is HSL(262, 57%, 28%). For a triadic harmony, use hues 82°, 202°, and 322°. For analogous combinations, try hues 52° and 112°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(82, 57%, 28%) in CSS?

As HSL: color: hsl(82, 57%, 28%); — As HEX: color: #52701F; — As RGB: color: rgb(82, 112, 31); — Tailwind CSS: bg-[hsl(82,57%,28%)] — CSS variable: --color-primary: hsl(82, 57%, 28%);