HSL(120, 90%, 19%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(120,90%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(120, 90%, 19%) | color: hsl(120, 90%, 19%) | |
| HEX | #055C05 | color: #055C05 | |
| RGB | rgb(5, 92, 5) | color: rgb(5, 92, 5) | |
| CMYK | cmyk(95%, 0%, 95%, 64%) | — | |
| HSV | hsv(120, 95%, 36%) | — | |
| HWB | hwb(120 2% 64%) | color: hwb(120 2% 64%) | |
| OKLCH | oklch(0.4124 0.1366 142.59) | color: oklch(0.4124 0.1366 142.59) | |
| Lab | lab(33.34 -39.98 37.97) | color: lab(33.34 -39.98 37.97) | |
| LCH | lch(33.34 55.14 136.48) | color: lch(33.34 55.14 136.48) |
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)
#2B2B1A — rgb(43, 43, 26)
Deuteranopia (Green-blind)
#261F1F — rgb(38, 31, 31)
Tritanopia (Blue-blind)
#092B2E — rgb(9, 43, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(120, 90%, 19%);
text
color: hsl(120, 90%, 19%);
border
border: 2px solid hsl(120, 90%, 19%);
gradient light
background: linear-gradient(to right, hsl(120, 90%, 39%), hsl(120, 90%, 19%));
gradient dark
background: linear-gradient(to right, hsl(120, 90%, 19%), hsl(120, 90%, 0%))
hex
background-color: #055C05;
tailwind
bg-[hsl(120,90%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(120, 90%, 19%, 0.4);
css variable
--color-primary: hsl(120, 90%, 19%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(120, 90%, 19%)?
HEX: #055C05 | RGB: rgb(5, 92, 5) | CMYK: 95%, 0%, 95%, 64% | HSV: 120°, 95%, 36%. Copy any format from the conversion table above.
What colors go well with #055C05?
The complementary color is HSL(300, 90%, 19%). For a triadic harmony, use hues 120°, 240°, and 0°. For analogous combinations, try hues 90° and 150°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(120, 90%, 19%) in CSS?
As HSL: color: hsl(120, 90%, 19%); — As HEX: color: #055C05; — As RGB: color: rgb(5, 92, 5); — Tailwind CSS: bg-[hsl(120,90%,19%)] — CSS variable: --color-primary: hsl(120, 90%, 19%);