HSL(117, 55%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(117,55%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(117, 55%, 40%) | color: hsl(117, 55%, 40%) | |
| HEX | #349E2E | color: #349E2E | |
| RGB | rgb(52, 158, 46) | color: rgb(52, 158, 46) | |
| CMYK | cmyk(67%, 0%, 71%, 38%) | — | |
| HSV | hsv(117, 71%, 62%) | — | |
| HWB | hwb(117 18% 38%) | color: hwb(117 18% 38%) | |
| OKLCH | oklch(0.6161 0.1776 142.34) | color: oklch(0.6161 0.1776 142.34) | |
| Lab | lab(57.44 -51.66 47.52) | color: lab(57.44 -51.66 47.52) | |
| LCH | lch(57.44 70.19 137.39) | color: lch(57.44 70.19 137.39) |
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)
#626349 — rgb(98, 99, 73)
Deuteranopia (Green-blind)
#5C5450 — rgb(92, 84, 80)
Tritanopia (Blue-blind)
#395E63 — rgb(57, 94, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(117, 55%, 40%);
text
color: hsl(117, 55%, 40%);
border
border: 2px solid hsl(117, 55%, 40%);
gradient light
background: linear-gradient(to right, hsl(117, 55%, 60%), hsl(117, 55%, 40%));
gradient dark
background: linear-gradient(to right, hsl(117, 55%, 40%), hsl(117, 55%, 20%))
hex
background-color: #349E2E;
tailwind
bg-[hsl(117,55%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(117, 55%, 40%, 0.4);
css variable
--color-primary: hsl(117, 55%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(117, 55%, 40%)?
HEX: #349E2E | RGB: rgb(52, 158, 46) | CMYK: 67%, 0%, 71%, 38% | HSV: 117°, 71%, 62%. Copy any format from the conversion table above.
What colors go well with #349E2E?
The complementary color is HSL(297, 55%, 40%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(117, 55%, 40%) in CSS?
As HSL: color: hsl(117, 55%, 40%); — As HEX: color: #349E2E; — As RGB: color: rgb(52, 158, 46); — Tailwind CSS: bg-[hsl(117,55%,40%)] — CSS variable: --color-primary: hsl(117, 55%, 40%);