HSL(89, 80%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(89,80%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(89, 80%, 17%) | color: hsl(89, 80%, 17%) | |
| HEX | #2D4E09 | color: #2D4E09 | |
| RGB | rgb(45, 78, 9) | color: rgb(45, 78, 9) | |
| CMYK | cmyk(42%, 0%, 88%, 69%) | — | |
| HSV | hsv(89, 88%, 31%) | — | |
| HWB | hwb(89 4% 69%) | color: hwb(89 4% 69%) | |
| OKLCH | oklch(0.384 0.1009 132.73) | color: oklch(0.384 0.1009 132.73) | |
| Lab | lab(29.48 -24.23 33.68) | color: lab(29.48 -24.23 33.68) | |
| LCH | lch(29.48 41.49 125.73) | color: lch(29.48 41.49 125.73) |
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)
#3B3C1A — rgb(59, 60, 26)
Deuteranopia (Green-blind)
#39371E — rgb(57, 55, 30)
Tritanopia (Blue-blind)
#2F272A — rgb(47, 39, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(89, 80%, 17%);
text
color: hsl(89, 80%, 17%);
border
border: 2px solid hsl(89, 80%, 17%);
gradient light
background: linear-gradient(to right, hsl(89, 80%, 37%), hsl(89, 80%, 17%));
gradient dark
background: linear-gradient(to right, hsl(89, 80%, 17%), hsl(89, 80%, 0%))
hex
background-color: #2D4E09;
tailwind
bg-[hsl(89,80%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(89, 80%, 17%, 0.4);
css variable
--color-primary: hsl(89, 80%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(89, 80%, 17%)?
HEX: #2D4E09 | RGB: rgb(45, 78, 9) | CMYK: 42%, 0%, 88%, 69% | HSV: 89°, 88%, 31%. Copy any format from the conversion table above.
What colors go well with #2D4E09?
The complementary color is HSL(269, 80%, 17%). 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, 80%, 17%) in CSS?
As HSL: color: hsl(89, 80%, 17%); — As HEX: color: #2D4E09; — As RGB: color: rgb(45, 78, 9); — Tailwind CSS: bg-[hsl(89,80%,17%)] — CSS variable: --color-primary: hsl(89, 80%, 17%);