HSL(116, 40%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(116,40%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(116, 40%, 27%) | color: hsl(116, 40%, 27%) | |
| HEX | #2D6029 | color: #2D6029 | |
| RGB | rgb(45, 96, 41) | color: rgb(45, 96, 41) | |
| CMYK | cmyk(53%, 0%, 57%, 62%) | — | |
| HSV | hsv(116, 57%, 38%) | — | |
| HWB | hwb(116 16% 62%) | color: hwb(116 16% 62%) | |
| OKLCH | oklch(0.4396 0.1015 142.27) | color: oklch(0.4396 0.1015 142.27) | |
| Lab | lab(36.14 -29.45 26) | color: lab(36.14 -29.45 26) | |
| LCH | lch(36.14 39.28 138.56) | color: lch(36.14 39.28 138.56) |
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)
#434436 — rgb(67, 68, 54)
Deuteranopia (Green-blind)
#403C3A — rgb(64, 60, 58)
Tritanopia (Blue-blind)
#304143 — rgb(48, 65, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(116, 40%, 27%);
text
color: hsl(116, 40%, 27%);
border
border: 2px solid hsl(116, 40%, 27%);
gradient light
background: linear-gradient(to right, hsl(116, 40%, 47%), hsl(116, 40%, 27%));
gradient dark
background: linear-gradient(to right, hsl(116, 40%, 27%), hsl(116, 40%, 7%))
hex
background-color: #2D6029;
tailwind
bg-[hsl(116,40%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(116, 40%, 27%, 0.4);
css variable
--color-primary: hsl(116, 40%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(116, 40%, 27%)?
HEX: #2D6029 | RGB: rgb(45, 96, 41) | CMYK: 53%, 0%, 57%, 62% | HSV: 116°, 57%, 38%. Copy any format from the conversion table above.
What colors go well with #2D6029?
The complementary color is HSL(296, 40%, 27%). For a triadic harmony, use hues 116°, 236°, and 356°. For analogous combinations, try hues 86° and 146°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(116, 40%, 27%) in CSS?
As HSL: color: hsl(116, 40%, 27%); — As HEX: color: #2D6029; — As RGB: color: rgb(45, 96, 41); — Tailwind CSS: bg-[hsl(116,40%,27%)] — CSS variable: --color-primary: hsl(116, 40%, 27%);