HSL(122, 70%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,70%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 70%, 45%) | color: hsl(122, 70%, 45%) | |
| HEX | #22C328 | color: #22C328 | |
| RGB | rgb(34, 195, 40) | color: rgb(34, 195, 40) | |
| CMYK | cmyk(83%, 0%, 79%, 24%) | — | |
| HSV | hsv(122, 83%, 76%) | — | |
| HWB | hwb(122 13% 24%) | color: hwb(122 13% 24%) | |
| OKLCH | oklch(0.7121 0.2266 143.05) | color: oklch(0.7121 0.2266 143.05) | |
| Lab | lab(69.13 -66.8 61.12) | color: lab(69.13 -66.8 61.12) | |
| LCH | lch(69.13 90.54 137.54) | color: lch(69.13 90.54 137.54) |
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)
#68694E — rgb(104, 105, 78)
Deuteranopia (Green-blind)
#5E5257 — rgb(94, 82, 87)
Tritanopia (Blue-blind)
#2A6B72 — rgb(42, 107, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 70%, 45%);
text
color: hsl(122, 70%, 45%);
border
border: 2px solid hsl(122, 70%, 45%);
gradient light
background: linear-gradient(to right, hsl(122, 70%, 65%), hsl(122, 70%, 45%));
gradient dark
background: linear-gradient(to right, hsl(122, 70%, 45%), hsl(122, 70%, 25%))
hex
background-color: #22C328;
tailwind
bg-[hsl(122,70%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 70%, 45%, 0.4);
css variable
--color-primary: hsl(122, 70%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 70%, 45%)?
HEX: #22C328 | RGB: rgb(34, 195, 40) | CMYK: 83%, 0%, 79%, 24% | HSV: 122°, 83%, 76%. Copy any format from the conversion table above.
What colors go well with #22C328?
The complementary color is HSL(302, 70%, 45%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(122, 70%, 45%) in CSS?
As HSL: color: hsl(122, 70%, 45%); — As HEX: color: #22C328; — As RGB: color: rgb(34, 195, 40); — Tailwind CSS: bg-[hsl(122,70%,45%)] — CSS variable: --color-primary: hsl(122, 70%, 45%);