HSL(122, 63%, 22%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,63%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 63%, 22%) | color: hsl(122, 63%, 22%) | |
| HEX | #155B17 | color: #155B17 | |
| RGB | rgb(21, 91, 23) | color: rgb(21, 91, 23) | |
| CMYK | cmyk(77%, 0%, 75%, 64%) | — | |
| HSV | hsv(122, 77%, 36%) | — | |
| HWB | hwb(122 8% 64%) | color: hwb(122 8% 64%) | |
| OKLCH | oklch(0.4137 0.1214 143.34) | color: oklch(0.4137 0.1214 143.34) | |
| Lab | lab(33.36 -35.91 31.67) | color: lab(33.36 -35.91 31.67) | |
| LCH | lch(33.36 47.88 138.59) | color: lch(33.36 47.88 138.59) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#333427 — rgb(51, 52, 39)
Deuteranopia (Green-blind)
#2F2A2B — rgb(47, 42, 43)
Tritanopia (Blue-blind)
#193437 — rgb(25, 52, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 63%, 22%);
text
color: hsl(122, 63%, 22%);
border
border: 2px solid hsl(122, 63%, 22%);
gradient light
background: linear-gradient(to right, hsl(122, 63%, 42%), hsl(122, 63%, 22%));
gradient dark
background: linear-gradient(to right, hsl(122, 63%, 22%), hsl(122, 63%, 2%))
hex
background-color: #155B17;
tailwind
bg-[hsl(122,63%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 63%, 22%, 0.4);
css variable
--color-primary: hsl(122, 63%, 22%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 63%, 22%)?
HEX: #155B17 | RGB: rgb(21, 91, 23) | CMYK: 77%, 0%, 75%, 64% | HSV: 122°, 77%, 36%. Copy any format from the conversion table above.
What colors go well with #155B17?
The complementary color is HSL(302, 63%, 22%). 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, 63%, 22%) in CSS?
As HSL: color: hsl(122, 63%, 22%); — As HEX: color: #155B17; — As RGB: color: rgb(21, 91, 23); — Tailwind CSS: bg-[hsl(122,63%,22%)] — CSS variable: --color-primary: hsl(122, 63%, 22%);