HSL(122, 93%, 22%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,93%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 93%, 22%) | color: hsl(122, 93%, 22%) | |
| HEX | #046C07 | color: #046C07 | |
| RGB | rgb(4, 108, 7) | color: rgb(4, 108, 7) | |
| CMYK | cmyk(96%, 0%, 94%, 58%) | — | |
| HSV | hsv(122, 96%, 42%) | — | |
| HWB | hwb(122 2% 58%) | color: hwb(122 2% 58%) | |
| OKLCH | oklch(0.4611 0.1534 142.77) | color: oklch(0.4611 0.1534 142.77) | |
| Lab | lab(39.18 -45.04 42.45) | color: lab(39.18 -45.04 42.45) | |
| LCH | lch(39.18 61.89 136.7) | color: lch(39.18 61.89 136.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#31321F — rgb(49, 50, 31)
Deuteranopia (Green-blind)
#2B2325 — rgb(43, 35, 37)
Tritanopia (Blue-blind)
#093337 — rgb(9, 51, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 93%, 22%);
text
color: hsl(122, 93%, 22%);
border
border: 2px solid hsl(122, 93%, 22%);
gradient light
background: linear-gradient(to right, hsl(122, 93%, 42%), hsl(122, 93%, 22%));
gradient dark
background: linear-gradient(to right, hsl(122, 93%, 22%), hsl(122, 93%, 2%))
hex
background-color: #046C07;
tailwind
bg-[hsl(122,93%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 93%, 22%, 0.4);
css variable
--color-primary: hsl(122, 93%, 22%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 93%, 22%)?
HEX: #046C07 | RGB: rgb(4, 108, 7) | CMYK: 96%, 0%, 94%, 58% | HSV: 122°, 96%, 42%. Copy any format from the conversion table above.
What colors go well with #046C07?
The complementary color is HSL(302, 93%, 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, 93%, 22%) in CSS?
As HSL: color: hsl(122, 93%, 22%); — As HEX: color: #046C07; — As RGB: color: rgb(4, 108, 7); — Tailwind CSS: bg-[hsl(122,93%,22%)] — CSS variable: --color-primary: hsl(122, 93%, 22%);