HSL(95, 30%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(95,30%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(95, 30%, 18%) | color: hsl(95, 30%, 18%) | |
| HEX | #2C3C20 | color: #2C3C20 | |
| RGB | rgb(44, 60, 32) | color: rgb(44, 60, 32) | |
| CMYK | cmyk(27%, 0%, 47%, 76%) | — | |
| HSV | hsv(94, 47%, 24%) | — | |
| HWB | hwb(94 13% 76%) | color: hwb(94 13% 76%) | |
| OKLCH | oklch(0.3339 0.051 132.8) | color: oklch(0.3339 0.051 132.8) | |
| Lab | lab(23.24 -12.63 15.24) | color: lab(23.24 -12.63 15.24) | |
| LCH | lch(23.24 19.79 129.65) | color: lch(23.24 19.79 129.65) |
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)
#333327 — rgb(51, 51, 39)
Deuteranopia (Green-blind)
#323128 — rgb(50, 49, 40)
Tritanopia (Blue-blind)
#2D2C2D — rgb(45, 44, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(95, 30%, 18%);
text
color: hsl(95, 30%, 18%);
border
border: 2px solid hsl(95, 30%, 18%);
gradient light
background: linear-gradient(to right, hsl(95, 30%, 38%), hsl(95, 30%, 18%));
gradient dark
background: linear-gradient(to right, hsl(95, 30%, 18%), hsl(95, 30%, 0%))
hex
background-color: #2C3C20;
tailwind
bg-[hsl(95,30%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(95, 30%, 18%, 0.4);
css variable
--color-primary: hsl(95, 30%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(95, 30%, 18%)?
HEX: #2C3C20 | RGB: rgb(44, 60, 32) | CMYK: 27%, 0%, 47%, 76% | HSV: 94°, 47%, 24%. Copy any format from the conversion table above.
What colors go well with #2C3C20?
The complementary color is HSL(275, 30%, 18%). For a triadic harmony, use hues 95°, 215°, and 335°. For analogous combinations, try hues 65° and 125°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(95, 30%, 18%) in CSS?
As HSL: color: hsl(95, 30%, 18%); — As HEX: color: #2C3C20; — As RGB: color: rgb(44, 60, 32); — Tailwind CSS: bg-[hsl(95,30%,18%)] — CSS variable: --color-primary: hsl(95, 30%, 18%);