HSL(122, 90%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,90%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 90%, 18%) | color: hsl(122, 90%, 18%) | |
| HEX | #055707 | color: #055707 | |
| RGB | rgb(5, 87, 7) | color: rgb(5, 87, 7) | |
| CMYK | cmyk(94%, 0%, 92%, 66%) | — | |
| HSV | hsv(121, 94%, 34%) | — | |
| HWB | hwb(121 2% 66%) | color: hwb(121 2% 66%) | |
| OKLCH | oklch(0.397 0.1301 142.84) | color: oklch(0.397 0.1301 142.84) | |
| Lab | lab(31.49 -38.23 35.7) | color: lab(31.49 -38.23 35.7) | |
| LCH | lch(31.49 52.31 136.96) | color: lch(31.49 52.31 136.96) |
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)
#29291A — rgb(41, 41, 26)
Deuteranopia (Green-blind)
#241E1F — rgb(36, 30, 31)
Tritanopia (Blue-blind)
#092A2D — rgb(9, 42, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 90%, 18%);
text
color: hsl(122, 90%, 18%);
border
border: 2px solid hsl(122, 90%, 18%);
gradient light
background: linear-gradient(to right, hsl(122, 90%, 38%), hsl(122, 90%, 18%));
gradient dark
background: linear-gradient(to right, hsl(122, 90%, 18%), hsl(122, 90%, 0%))
hex
background-color: #055707;
tailwind
bg-[hsl(122,90%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 90%, 18%, 0.4);
css variable
--color-primary: hsl(122, 90%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 90%, 18%)?
HEX: #055707 | RGB: rgb(5, 87, 7) | CMYK: 94%, 0%, 92%, 66% | HSV: 121°, 94%, 34%. Copy any format from the conversion table above.
What colors go well with #055707?
The complementary color is HSL(302, 90%, 18%). 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, 90%, 18%) in CSS?
As HSL: color: hsl(122, 90%, 18%); — As HEX: color: #055707; — As RGB: color: rgb(5, 87, 7); — Tailwind CSS: bg-[hsl(122,90%,18%)] — CSS variable: --color-primary: hsl(122, 90%, 18%);