HSL(91, 63%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(91,63%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(91, 63%, 18%) | color: hsl(91, 63%, 18%) | |
| HEX | #2D4B11 | color: #2D4B11 | |
| RGB | rgb(45, 75, 17) | color: rgb(45, 75, 17) | |
| CMYK | cmyk(40%, 0%, 77%, 71%) | — | |
| HSV | hsv(91, 77%, 29%) | — | |
| HWB | hwb(91 7% 71%) | color: hwb(91 7% 71%) | |
| OKLCH | oklch(0.3758 0.0914 132.97) | color: oklch(0.3758 0.0914 132.97) | |
| Lab | lab(28.46 -22.19 29.56) | color: lab(28.46 -22.19 29.56) | |
| LCH | lch(28.46 36.96 126.89) | color: lch(28.46 36.96 126.89) |
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)
#3A3A1F — rgb(58, 58, 31)
Deuteranopia (Green-blind)
#383622 — rgb(56, 54, 34)
Tritanopia (Blue-blind)
#2F2A2D — rgb(47, 42, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(91, 63%, 18%);
text
color: hsl(91, 63%, 18%);
border
border: 2px solid hsl(91, 63%, 18%);
gradient light
background: linear-gradient(to right, hsl(91, 63%, 38%), hsl(91, 63%, 18%));
gradient dark
background: linear-gradient(to right, hsl(91, 63%, 18%), hsl(91, 63%, 0%))
hex
background-color: #2D4B11;
tailwind
bg-[hsl(91,63%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(91, 63%, 18%, 0.4);
css variable
--color-primary: hsl(91, 63%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(91, 63%, 18%)?
HEX: #2D4B11 | RGB: rgb(45, 75, 17) | CMYK: 40%, 0%, 77%, 71% | HSV: 91°, 77%, 29%. Copy any format from the conversion table above.
What colors go well with #2D4B11?
The complementary color is HSL(271, 63%, 18%). For a triadic harmony, use hues 91°, 211°, and 331°. For analogous combinations, try hues 61° and 121°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(91, 63%, 18%) in CSS?
As HSL: color: hsl(91, 63%, 18%); — As HEX: color: #2D4B11; — As RGB: color: rgb(45, 75, 17); — Tailwind CSS: bg-[hsl(91,63%,18%)] — CSS variable: --color-primary: hsl(91, 63%, 18%);