HSL(140, 31%, 50%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(140,31%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 31%, 50%) | color: hsl(140, 31%, 50%) | |
| HEX | #58A772 | color: #58A772 | |
| RGB | rgb(88, 167, 114) | color: rgb(88, 167, 114) | |
| CMYK | cmyk(47%, 0%, 32%, 35%) | — | |
| HSV | hsv(140, 47%, 65%) | — | |
| HWB | hwb(140 34% 35%) | color: hwb(140 34% 35%) | |
| OKLCH | oklch(0.6635 0.1116 152.95) | color: oklch(0.6635 0.1116 152.95) | |
| Lab | lab(62.44 -36.43 20.09) | color: lab(62.44 -36.43 20.09) | |
| LCH | lch(62.44 41.6 151.12) | color: lch(62.44 41.6 151.12) |
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)
#7A7B7F — rgb(122, 123, 127)
Deuteranopia (Green-blind)
#767082 — rgb(118, 112, 130)
Tritanopia (Blue-blind)
#5C898B — rgb(92, 137, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 31%, 50%);
text
color: hsl(140, 31%, 50%);
border
border: 2px solid hsl(140, 31%, 50%);
gradient light
background: linear-gradient(to right, hsl(140, 31%, 70%), hsl(140, 31%, 50%));
gradient dark
background: linear-gradient(to right, hsl(140, 31%, 50%), hsl(140, 31%, 30%))
hex
background-color: #58A772;
tailwind
bg-[hsl(140,31%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 31%, 50%, 0.4);
css variable
--color-primary: hsl(140, 31%, 50%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(140, 31%, 50%)?
HEX: #58A772 | RGB: rgb(88, 167, 114) | CMYK: 47%, 0%, 32%, 35% | HSV: 140°, 47%, 65%. Copy any format from the conversion table above.
What colors go well with #58A772?
The complementary color is HSL(320, 31%, 50%). For a triadic harmony, use hues 140°, 260°, and 20°. For analogous combinations, try hues 110° and 170°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(140, 31%, 50%) in CSS?
As HSL: color: hsl(140, 31%, 50%); — As HEX: color: #58A772; — As RGB: color: rgb(88, 167, 114); — Tailwind CSS: bg-[hsl(140,31%,50%)] — CSS variable: --color-primary: hsl(140, 31%, 50%);