HSL(92, 89%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(92,89%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(92, 89%, 18%) | color: hsl(92, 89%, 18%) | |
| HEX | #2B5705 | color: #2B5705 | |
| RGB | rgb(43, 87, 5) | color: rgb(43, 87, 5) | |
| CMYK | cmyk(51%, 0%, 94%, 66%) | — | |
| HSV | hsv(92, 94%, 34%) | — | |
| HWB | hwb(92 2% 66%) | color: hwb(92 2% 66%) | |
| OKLCH | oklch(0.409 0.1162 135.17) | color: oklch(0.409 0.1162 135.17) | |
| Lab | lab(32.57 -29.39 37.72) | color: lab(32.57 -29.39 37.72) | |
| LCH | lch(32.57 47.82 127.92) | color: lch(32.57 47.82 127.92) |
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)
#3E3E19 — rgb(62, 62, 25)
Deuteranopia (Green-blind)
#3C381E — rgb(60, 56, 30)
Tritanopia (Blue-blind)
#2D292C — rgb(45, 41, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(92, 89%, 18%);
text
color: hsl(92, 89%, 18%);
border
border: 2px solid hsl(92, 89%, 18%);
gradient light
background: linear-gradient(to right, hsl(92, 89%, 38%), hsl(92, 89%, 18%));
gradient dark
background: linear-gradient(to right, hsl(92, 89%, 18%), hsl(92, 89%, 0%))
hex
background-color: #2B5705;
tailwind
bg-[hsl(92,89%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(92, 89%, 18%, 0.4);
css variable
--color-primary: hsl(92, 89%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(92, 89%, 18%)?
HEX: #2B5705 | RGB: rgb(43, 87, 5) | CMYK: 51%, 0%, 94%, 66% | HSV: 92°, 94%, 34%. Copy any format from the conversion table above.
What colors go well with #2B5705?
The complementary color is HSL(272, 89%, 18%). For a triadic harmony, use hues 92°, 212°, and 332°. For analogous combinations, try hues 62° and 122°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(92, 89%, 18%) in CSS?
As HSL: color: hsl(92, 89%, 18%); — As HEX: color: #2B5705; — As RGB: color: rgb(43, 87, 5); — Tailwind CSS: bg-[hsl(92,89%,18%)] — CSS variable: --color-primary: hsl(92, 89%, 18%);