HSL(147, 34%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(147,34%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(147, 34%, 26%) | color: hsl(147, 34%, 26%) | |
| HEX | #2C5940 | color: #2C5940 | |
| RGB | rgb(44, 89, 64) | color: rgb(44, 89, 64) | |
| CMYK | cmyk(51%, 0%, 28%, 65%) | — | |
| HSV | hsv(147, 51%, 35%) | — | |
| HWB | hwb(147 17% 65%) | color: hwb(147 17% 65%) | |
| OKLCH | oklch(0.424 0.0656 157.64) | color: oklch(0.424 0.0656 157.64) | |
| Lab | lab(34.09 -22.07 9.78) | color: lab(34.09 -22.07 9.78) | |
| LCH | lch(34.09 24.14 156.1) | color: lch(34.09 24.14 156.1) |
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)
#3F4046 — rgb(63, 64, 70)
Deuteranopia (Green-blind)
#3D3A48 — rgb(61, 58, 72)
Tritanopia (Blue-blind)
#2E4B4C — rgb(46, 75, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(147, 34%, 26%);
text
color: hsl(147, 34%, 26%);
border
border: 2px solid hsl(147, 34%, 26%);
gradient light
background: linear-gradient(to right, hsl(147, 34%, 46%), hsl(147, 34%, 26%));
gradient dark
background: linear-gradient(to right, hsl(147, 34%, 26%), hsl(147, 34%, 6%))
hex
background-color: #2C5940;
tailwind
bg-[hsl(147,34%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(147, 34%, 26%, 0.4);
css variable
--color-primary: hsl(147, 34%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(147, 34%, 26%)?
HEX: #2C5940 | RGB: rgb(44, 89, 64) | CMYK: 51%, 0%, 28%, 65% | HSV: 147°, 51%, 35%. Copy any format from the conversion table above.
What colors go well with #2C5940?
The complementary color is HSL(327, 34%, 26%). For a triadic harmony, use hues 147°, 267°, and 27°. For analogous combinations, try hues 117° and 177°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(147, 34%, 26%) in CSS?
As HSL: color: hsl(147, 34%, 26%); — As HEX: color: #2C5940; — As RGB: color: rgb(44, 89, 64); — Tailwind CSS: bg-[hsl(147,34%,26%)] — CSS variable: --color-primary: hsl(147, 34%, 26%);