HSL(115, 52%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(115,52%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(115, 52%, 40%) | color: hsl(115, 52%, 40%) | |
| HEX | #3A9B31 | color: #3A9B31 | |
| RGB | rgb(58, 155, 49) | color: rgb(58, 155, 49) | |
| CMYK | cmyk(63%, 0%, 68%, 39%) | — | |
| HSV | hsv(115, 68%, 61%) | — | |
| HWB | hwb(115 20% 39%) | color: hwb(115 20% 39%) | |
| OKLCH | oklch(0.61 0.1695 141.91) | color: oklch(0.61 0.1695 141.91) | |
| Lab | lab(56.65 -48.95 45.49) | color: lab(56.65 -48.95 45.49) | |
| LCH | lch(56.65 66.82 137.1) | color: lch(56.65 66.82 137.1) |
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)
#64654B — rgb(100, 101, 75)
Deuteranopia (Green-blind)
#5E5751 — rgb(94, 87, 81)
Tritanopia (Blue-blind)
#3F5F63 — rgb(63, 95, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(115, 52%, 40%);
text
color: hsl(115, 52%, 40%);
border
border: 2px solid hsl(115, 52%, 40%);
gradient light
background: linear-gradient(to right, hsl(115, 52%, 60%), hsl(115, 52%, 40%));
gradient dark
background: linear-gradient(to right, hsl(115, 52%, 40%), hsl(115, 52%, 20%))
hex
background-color: #3A9B31;
tailwind
bg-[hsl(115,52%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(115, 52%, 40%, 0.4);
css variable
--color-primary: hsl(115, 52%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(115, 52%, 40%)?
HEX: #3A9B31 | RGB: rgb(58, 155, 49) | CMYK: 63%, 0%, 68%, 39% | HSV: 115°, 68%, 61%. Copy any format from the conversion table above.
What colors go well with #3A9B31?
The complementary color is HSL(295, 52%, 40%). For a triadic harmony, use hues 115°, 235°, and 355°. For analogous combinations, try hues 85° and 145°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(115, 52%, 40%) in CSS?
As HSL: color: hsl(115, 52%, 40%); — As HEX: color: #3A9B31; — As RGB: color: rgb(58, 155, 49); — Tailwind CSS: bg-[hsl(115,52%,40%)] — CSS variable: --color-primary: hsl(115, 52%, 40%);