HSL(100, 30%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(100,30%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(100, 30%, 18%) | color: hsl(100, 30%, 18%) | |
| HEX | #293C20 | color: #293C20 | |
| RGB | rgb(41, 60, 32) | color: rgb(41, 60, 32) | |
| CMYK | cmyk(32%, 0%, 47%, 76%) | — | |
| HSV | hsv(101, 47%, 24%) | — | |
| HWB | hwb(101 13% 76%) | color: hwb(101 13% 76%) | |
| OKLCH | oklch(0.3316 0.053 136.15) | color: oklch(0.3316 0.053 136.15) | |
| Lab | lab(23.02 -13.95 14.92) | color: lab(23.02 -13.95 14.92) | |
| LCH | lch(23.02 20.43 133.08) | color: lch(23.02 20.43 133.08) |
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)
#313127 — rgb(49, 49, 39)
Deuteranopia (Green-blind)
#302F28 — rgb(48, 47, 40)
Tritanopia (Blue-blind)
#2A2C2D — rgb(42, 44, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(100, 30%, 18%);
text
color: hsl(100, 30%, 18%);
border
border: 2px solid hsl(100, 30%, 18%);
gradient light
background: linear-gradient(to right, hsl(100, 30%, 38%), hsl(100, 30%, 18%));
gradient dark
background: linear-gradient(to right, hsl(100, 30%, 18%), hsl(100, 30%, 0%))
hex
background-color: #293C20;
tailwind
bg-[hsl(100,30%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(100, 30%, 18%, 0.4);
css variable
--color-primary: hsl(100, 30%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(100, 30%, 18%)?
HEX: #293C20 | RGB: rgb(41, 60, 32) | CMYK: 32%, 0%, 47%, 76% | HSV: 101°, 47%, 24%. Copy any format from the conversion table above.
What colors go well with #293C20?
The complementary color is HSL(280, 30%, 18%). For a triadic harmony, use hues 100°, 220°, and 340°. For analogous combinations, try hues 70° and 130°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(100, 30%, 18%) in CSS?
As HSL: color: hsl(100, 30%, 18%); — As HEX: color: #293C20; — As RGB: color: rgb(41, 60, 32); — Tailwind CSS: bg-[hsl(100,30%,18%)] — CSS variable: --color-primary: hsl(100, 30%, 18%);