HSL(97, 36%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,36%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 36%, 40%) | color: hsl(97, 36%, 40%) | |
| HEX | #5D8B41 | color: #5D8B41 | |
| RGB | rgb(93, 139, 65) | color: rgb(93, 139, 65) | |
| CMYK | cmyk(33%, 0%, 53%, 45%) | — | |
| HSV | hsv(97, 53%, 55%) | — | |
| HWB | hwb(97 26% 45%) | color: hwb(97 26% 45%) | |
| OKLCH | oklch(0.5859 0.1158 134.93) | color: oklch(0.5859 0.1158 134.93) | |
| Lab | lab(53.14 -29.62 34.36) | color: lab(53.14 -29.62 34.36) | |
| LCH | lch(53.14 45.36 130.76) | color: lch(53.14 45.36 130.76) |
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)
#717153 — rgb(113, 113, 83)
Deuteranopia (Green-blind)
#6E6B57 — rgb(110, 107, 87)
Tritanopia (Blue-blind)
#5F6164 — rgb(95, 97, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 36%, 40%);
text
color: hsl(97, 36%, 40%);
border
border: 2px solid hsl(97, 36%, 40%);
gradient light
background: linear-gradient(to right, hsl(97, 36%, 60%), hsl(97, 36%, 40%));
gradient dark
background: linear-gradient(to right, hsl(97, 36%, 40%), hsl(97, 36%, 20%))
hex
background-color: #5D8B41;
tailwind
bg-[hsl(97,36%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 36%, 40%, 0.4);
css variable
--color-primary: hsl(97, 36%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 36%, 40%)?
HEX: #5D8B41 | RGB: rgb(93, 139, 65) | CMYK: 33%, 0%, 53%, 45% | HSV: 97°, 53%, 55%. Copy any format from the conversion table above.
What colors go well with #5D8B41?
The complementary color is HSL(277, 36%, 40%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(97, 36%, 40%) in CSS?
As HSL: color: hsl(97, 36%, 40%); — As HEX: color: #5D8B41; — As RGB: color: rgb(93, 139, 65); — Tailwind CSS: bg-[hsl(97,36%,40%)] — CSS variable: --color-primary: hsl(97, 36%, 40%);