HSL(145, 50%, 42%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(145,50%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(145, 50%, 42%) | color: hsl(145, 50%, 42%) | |
| HEX | #36A162 | color: #36A162 | |
| RGB | rgb(54, 161, 98) | color: rgb(54, 161, 98) | |
| CMYK | cmyk(66%, 0%, 39%, 37%) | — | |
| HSV | hsv(145, 66%, 63%) | — | |
| HWB | hwb(145 21% 37%) | color: hwb(145 21% 37%) | |
| OKLCH | oklch(0.6321 0.1358 153.68) | color: oklch(0.6321 0.1358 153.68) | |
| Lab | lab(59.12 -45.03 24.13) | color: lab(59.12 -45.03 24.13) | |
| LCH | lch(59.12 51.09 151.81) | color: lch(59.12 51.09 151.81) |
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)
#646571 — rgb(100, 101, 113)
Deuteranopia (Green-blind)
#5E5675 — rgb(94, 86, 117)
Tritanopia (Blue-blind)
#3B7D80 — rgb(59, 125, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(145, 50%, 42%);
text
color: hsl(145, 50%, 42%);
border
border: 2px solid hsl(145, 50%, 42%);
gradient light
background: linear-gradient(to right, hsl(145, 50%, 62%), hsl(145, 50%, 42%));
gradient dark
background: linear-gradient(to right, hsl(145, 50%, 42%), hsl(145, 50%, 22%))
hex
background-color: #36A162;
tailwind
bg-[hsl(145,50%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(145, 50%, 42%, 0.4);
css variable
--color-primary: hsl(145, 50%, 42%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(145, 50%, 42%)?
HEX: #36A162 | RGB: rgb(54, 161, 98) | CMYK: 66%, 0%, 39%, 37% | HSV: 145°, 66%, 63%. Copy any format from the conversion table above.
What colors go well with #36A162?
The complementary color is HSL(325, 50%, 42%). For a triadic harmony, use hues 145°, 265°, and 25°. For analogous combinations, try hues 115° and 175°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(145, 50%, 42%) in CSS?
As HSL: color: hsl(145, 50%, 42%); — As HEX: color: #36A162; — As RGB: color: rgb(54, 161, 98); — Tailwind CSS: bg-[hsl(145,50%,42%)] — CSS variable: --color-primary: hsl(145, 50%, 42%);