HSL(87, 57%, 42%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,57%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 57%, 42%) | color: hsl(87, 57%, 42%) | |
| HEX | #71A82E | color: #71A82E | |
| RGB | rgb(113, 168, 46) | color: rgb(113, 168, 46) | |
| CMYK | cmyk(33%, 0%, 73%, 34%) | — | |
| HSV | hsv(87, 73%, 66%) | — | |
| HWB | hwb(87 18% 34%) | color: hwb(87 18% 34%) | |
| OKLCH | oklch(0.6694 0.1609 130.94) | color: oklch(0.6694 0.1609 130.94) | |
| Lab | lab(63.1 -37.24 54.1) | color: lab(63.1 -37.24 54.1) | |
| LCH | lch(63.1 65.68 124.54) | color: lch(63.1 65.68 124.54) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#89894C — rgb(137, 137, 76)
Deuteranopia (Green-blind)
#868253 — rgb(134, 130, 83)
Tritanopia (Blue-blind)
#746368 — rgb(116, 99, 104)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 57%, 42%);
text
color: hsl(87, 57%, 42%);
border
border: 2px solid hsl(87, 57%, 42%);
gradient light
background: linear-gradient(to right, hsl(87, 57%, 62%), hsl(87, 57%, 42%));
gradient dark
background: linear-gradient(to right, hsl(87, 57%, 42%), hsl(87, 57%, 22%))
hex
background-color: #71A82E;
tailwind
bg-[hsl(87,57%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 57%, 42%, 0.4);
css variable
--color-primary: hsl(87, 57%, 42%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 57%, 42%)?
HEX: #71A82E | RGB: rgb(113, 168, 46) | CMYK: 33%, 0%, 73%, 34% | HSV: 87°, 73%, 66%. Copy any format from the conversion table above.
What colors go well with #71A82E?
The complementary color is HSL(267, 57%, 42%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 57%, 42%) in CSS?
As HSL: color: hsl(87, 57%, 42%); — As HEX: color: #71A82E; — As RGB: color: rgb(113, 168, 46); — Tailwind CSS: bg-[hsl(87,57%,42%)] — CSS variable: --color-primary: hsl(87, 57%, 42%);