HSL(140, 70%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(140,70%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 70%, 45%) | color: hsl(140, 70%, 45%) | |
| HEX | #22C358 | color: #22C358 | |
| RGB | rgb(34, 195, 88) | color: rgb(34, 195, 88) | |
| CMYK | cmyk(83%, 0%, 55%, 24%) | — | |
| HSV | hsv(140, 83%, 76%) | — | |
| HWB | hwb(140 13% 24%) | color: hwb(140 13% 24%) | |
| OKLCH | oklch(0.7166 0.1947 148.62) | color: oklch(0.7166 0.1947 148.62) | |
| Lab | lab(69.52 -61.93 42.33) | color: lab(69.52 -61.93 42.33) | |
| LCH | lch(69.52 75.01 145.65) | color: lch(69.52 75.01 145.65) |
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)
#686972 — rgb(104, 105, 114)
Deuteranopia (Green-blind)
#5E5278 — rgb(94, 82, 120)
Tritanopia (Blue-blind)
#2A868B — rgb(42, 134, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 70%, 45%);
text
color: hsl(140, 70%, 45%);
border
border: 2px solid hsl(140, 70%, 45%);
gradient light
background: linear-gradient(to right, hsl(140, 70%, 65%), hsl(140, 70%, 45%));
gradient dark
background: linear-gradient(to right, hsl(140, 70%, 45%), hsl(140, 70%, 25%))
hex
background-color: #22C358;
tailwind
bg-[hsl(140,70%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 70%, 45%, 0.4);
css variable
--color-primary: hsl(140, 70%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(140, 70%, 45%)?
HEX: #22C358 | RGB: rgb(34, 195, 88) | CMYK: 83%, 0%, 55%, 24% | HSV: 140°, 83%, 76%. Copy any format from the conversion table above.
What colors go well with #22C358?
The complementary color is HSL(320, 70%, 45%). For a triadic harmony, use hues 140°, 260°, and 20°. For analogous combinations, try hues 110° and 170°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(140, 70%, 45%) in CSS?
As HSL: color: hsl(140, 70%, 45%); — As HEX: color: #22C358; — As RGB: color: rgb(34, 195, 88); — Tailwind CSS: bg-[hsl(140,70%,45%)] — CSS variable: --color-primary: hsl(140, 70%, 45%);