HSL(133, 50%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(133,50%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(133, 50%, 40%) | color: hsl(133, 50%, 40%) | |
| HEX | #339949 | color: #339949 | |
| RGB | rgb(51, 153, 73) | color: rgb(51, 153, 73) | |
| CMYK | cmyk(67%, 0%, 52%, 40%) | — | |
| HSV | hsv(133, 67%, 60%) | — | |
| HWB | hwb(133 20% 40%) | color: hwb(133 20% 40%) | |
| OKLCH | oklch(0.6054 0.1498 147.42) | color: oklch(0.6054 0.1498 147.42) | |
| Lab | lab(56.05 -46.78 33.42) | color: lab(56.05 -46.78 33.42) | |
| LCH | lch(56.05 57.49 144.46) | color: lch(56.05 57.49 144.46) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#5F605C — rgb(95, 96, 92)
Deuteranopia (Green-blind)
#595261 — rgb(89, 82, 97)
Tritanopia (Blue-blind)
#386C6F — rgb(56, 108, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(133, 50%, 40%);
text
color: hsl(133, 50%, 40%);
border
border: 2px solid hsl(133, 50%, 40%);
gradient light
background: linear-gradient(to right, hsl(133, 50%, 60%), hsl(133, 50%, 40%));
gradient dark
background: linear-gradient(to right, hsl(133, 50%, 40%), hsl(133, 50%, 20%))
hex
background-color: #339949;
tailwind
bg-[hsl(133,50%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(133, 50%, 40%, 0.4);
css variable
--color-primary: hsl(133, 50%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(133, 50%, 40%)?
HEX: #339949 | RGB: rgb(51, 153, 73) | CMYK: 67%, 0%, 52%, 40% | HSV: 133°, 67%, 60%. Copy any format from the conversion table above.
What colors go well with #339949?
The complementary color is HSL(313, 50%, 40%). For a triadic harmony, use hues 133°, 253°, and 13°. For analogous combinations, try hues 103° and 163°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(133, 50%, 40%) in CSS?
As HSL: color: hsl(133, 50%, 40%); — As HEX: color: #339949; — As RGB: color: rgb(51, 153, 73); — Tailwind CSS: bg-[hsl(133,50%,40%)] — CSS variable: --color-primary: hsl(133, 50%, 40%);