HSL(89, 90%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(89,90%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(89, 90%, 18%) | color: hsl(89, 90%, 18%) | |
| HEX | #2F5705 | color: #2F5705 | |
| RGB | rgb(47, 87, 5) | color: rgb(47, 87, 5) | |
| CMYK | cmyk(46%, 0%, 94%, 66%) | — | |
| HSV | hsv(89, 94%, 34%) | — | |
| HWB | hwb(89 2% 66%) | color: hwb(89 2% 66%) | |
| OKLCH | oklch(0.4112 0.114 133.71) | color: oklch(0.4112 0.114 133.71) | |
| Lab | lab(32.77 -27.9 37.97) | color: lab(32.77 -27.9 37.97) | |
| LCH | lch(32.77 47.12 126.31) | color: lch(32.77 47.12 126.31) |
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)
#404119 — rgb(64, 65, 25)
Deuteranopia (Green-blind)
#3E3B1E — rgb(62, 59, 30)
Tritanopia (Blue-blind)
#31292C — rgb(49, 41, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(89, 90%, 18%);
text
color: hsl(89, 90%, 18%);
border
border: 2px solid hsl(89, 90%, 18%);
gradient light
background: linear-gradient(to right, hsl(89, 90%, 38%), hsl(89, 90%, 18%));
gradient dark
background: linear-gradient(to right, hsl(89, 90%, 18%), hsl(89, 90%, 0%))
hex
background-color: #2F5705;
tailwind
bg-[hsl(89,90%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(89, 90%, 18%, 0.4);
css variable
--color-primary: hsl(89, 90%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(89, 90%, 18%)?
HEX: #2F5705 | RGB: rgb(47, 87, 5) | CMYK: 46%, 0%, 94%, 66% | HSV: 89°, 94%, 34%. Copy any format from the conversion table above.
What colors go well with #2F5705?
The complementary color is HSL(269, 90%, 18%). For a triadic harmony, use hues 89°, 209°, and 329°. For analogous combinations, try hues 59° and 119°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(89, 90%, 18%) in CSS?
As HSL: color: hsl(89, 90%, 18%); — As HEX: color: #2F5705; — As RGB: color: rgb(47, 87, 5); — Tailwind CSS: bg-[hsl(89,90%,18%)] — CSS variable: --color-primary: hsl(89, 90%, 18%);