HSL(128, 45%, 38%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(128,45%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(128, 45%, 38%) | color: hsl(128, 45%, 38%) | |
| HEX | #358D41 | color: #358D41 | |
| RGB | rgb(53, 141, 65) | color: rgb(53, 141, 65) | |
| CMYK | cmyk(62%, 0%, 54%, 45%) | — | |
| HSV | hsv(128, 62%, 55%) | — | |
| HWB | hwb(128 21% 45%) | color: hwb(128 21% 45%) | |
| OKLCH | oklch(0.5722 0.14 145.92) | color: oklch(0.5722 0.14 145.92) | |
| Lab | lab(52.05 -42.85 32.64) | color: lab(52.05 -42.85 32.64) | |
| LCH | lch(52.05 53.87 142.7) | color: lch(52.05 53.87 142.7) |
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)
#5B5C53 — rgb(91, 92, 83)
Deuteranopia (Green-blind)
#564F58 — rgb(86, 79, 88)
Tritanopia (Blue-blind)
#396265 — rgb(57, 98, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(128, 45%, 38%);
text
color: hsl(128, 45%, 38%);
border
border: 2px solid hsl(128, 45%, 38%);
gradient light
background: linear-gradient(to right, hsl(128, 45%, 58%), hsl(128, 45%, 38%));
gradient dark
background: linear-gradient(to right, hsl(128, 45%, 38%), hsl(128, 45%, 18%))
hex
background-color: #358D41;
tailwind
bg-[hsl(128,45%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(128, 45%, 38%, 0.4);
css variable
--color-primary: hsl(128, 45%, 38%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(128, 45%, 38%)?
HEX: #358D41 | RGB: rgb(53, 141, 65) | CMYK: 62%, 0%, 54%, 45% | HSV: 128°, 62%, 55%. Copy any format from the conversion table above.
What colors go well with #358D41?
The complementary color is HSL(308, 45%, 38%). For a triadic harmony, use hues 128°, 248°, and 8°. For analogous combinations, try hues 98° and 158°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(128, 45%, 38%) in CSS?
As HSL: color: hsl(128, 45%, 38%); — As HEX: color: #358D41; — As RGB: color: rgb(53, 141, 65); — Tailwind CSS: bg-[hsl(128,45%,38%)] — CSS variable: --color-primary: hsl(128, 45%, 38%);