HSL(79, 40%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(79,40%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(79, 40%, 15%) | color: hsl(79, 40%, 15%) | |
| HEX | #2C3617 | color: #2C3617 | |
| RGB | rgb(44, 54, 23) | color: rgb(44, 54, 23) | |
| CMYK | cmyk(19%, 0%, 57%, 79%) | — | |
| HSV | hsv(79, 57%, 21%) | — | |
| HWB | hwb(79 9% 79%) | color: hwb(79 9% 79%) | |
| OKLCH | oklch(0.3151 0.0519 124.07) | color: oklch(0.3151 0.0519 124.07) | |
| Lab | lab(20.96 -10.38 17.99) | color: lab(20.96 -10.38 17.99) | |
| LCH | lch(20.96 20.77 119.98) | color: lch(20.96 20.77 119.98) |
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)
#30301F — rgb(48, 48, 31)
Deuteranopia (Green-blind)
#302F20 — rgb(48, 47, 32)
Tritanopia (Blue-blind)
#2D2426 — rgb(45, 36, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(79, 40%, 15%);
text
color: hsl(79, 40%, 15%);
border
border: 2px solid hsl(79, 40%, 15%);
gradient light
background: linear-gradient(to right, hsl(79, 40%, 35%), hsl(79, 40%, 15%));
gradient dark
background: linear-gradient(to right, hsl(79, 40%, 15%), hsl(79, 40%, 0%))
hex
background-color: #2C3617;
tailwind
bg-[hsl(79,40%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(79, 40%, 15%, 0.4);
css variable
--color-primary: hsl(79, 40%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(79, 40%, 15%)?
HEX: #2C3617 | RGB: rgb(44, 54, 23) | CMYK: 19%, 0%, 57%, 79% | HSV: 79°, 57%, 21%. Copy any format from the conversion table above.
What colors go well with #2C3617?
The complementary color is HSL(259, 40%, 15%). For a triadic harmony, use hues 79°, 199°, and 319°. For analogous combinations, try hues 49° and 109°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(79, 40%, 15%) in CSS?
As HSL: color: hsl(79, 40%, 15%); — As HEX: color: #2C3617; — As RGB: color: rgb(44, 54, 23); — Tailwind CSS: bg-[hsl(79,40%,15%)] — CSS variable: --color-primary: hsl(79, 40%, 15%);