HSL(101, 40%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(101,40%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(101, 40%, 15%) | color: hsl(101, 40%, 15%) | |
| HEX | #213617 | color: #213617 | |
| RGB | rgb(33, 54, 23) | color: rgb(33, 54, 23) | |
| CMYK | cmyk(39%, 0%, 57%, 79%) | — | |
| HSV | hsv(101, 57%, 21%) | — | |
| HWB | hwb(101 9% 79%) | color: hwb(101 9% 79%) | |
| OKLCH | oklch(0.3062 0.0586 136.4) | color: oklch(0.3062 0.0586 136.4) | |
| Lab | lab(20.14 -15.44 16.79) | color: lab(20.14 -15.44 16.79) | |
| LCH | lch(20.14 22.81 132.6) | color: lch(20.14 22.81 132.6) |
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)
#2A2A1F — rgb(42, 42, 31)
Deuteranopia (Green-blind)
#292720 — rgb(41, 39, 32)
Tritanopia (Blue-blind)
#222426 — rgb(34, 36, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(101, 40%, 15%);
text
color: hsl(101, 40%, 15%);
border
border: 2px solid hsl(101, 40%, 15%);
gradient light
background: linear-gradient(to right, hsl(101, 40%, 35%), hsl(101, 40%, 15%));
gradient dark
background: linear-gradient(to right, hsl(101, 40%, 15%), hsl(101, 40%, 0%))
hex
background-color: #213617;
tailwind
bg-[hsl(101,40%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(101, 40%, 15%, 0.4);
css variable
--color-primary: hsl(101, 40%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(101, 40%, 15%)?
HEX: #213617 | RGB: rgb(33, 54, 23) | CMYK: 39%, 0%, 57%, 79% | HSV: 101°, 57%, 21%. Copy any format from the conversion table above.
What colors go well with #213617?
The complementary color is HSL(281, 40%, 15%). For a triadic harmony, use hues 101°, 221°, and 341°. For analogous combinations, try hues 71° and 131°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(101, 40%, 15%) in CSS?
As HSL: color: hsl(101, 40%, 15%); — As HEX: color: #213617; — As RGB: color: rgb(33, 54, 23); — Tailwind CSS: bg-[hsl(101,40%,15%)] — CSS variable: --color-primary: hsl(101, 40%, 15%);