HSL(104, 50%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(104,50%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(104, 50%, 40%) | color: hsl(104, 50%, 40%) | |
| HEX | #4E9933 | color: #4E9933 | |
| RGB | rgb(78, 153, 51) | color: rgb(78, 153, 51) | |
| CMYK | cmyk(49%, 0%, 67%, 40%) | — | |
| HSV | hsv(104, 67%, 60%) | — | |
| HWB | hwb(104 20% 40%) | color: hwb(104 20% 40%) | |
| OKLCH | oklch(0.6127 0.1562 138.52) | color: oklch(0.6127 0.1562 138.52) | |
| Lab | lab(56.72 -42.48 44.92) | color: lab(56.72 -42.48 44.92) | |
| LCH | lch(56.72 61.83 133.4) | color: lch(56.72 61.83 133.4) |
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)
#6E6F4C — rgb(110, 111, 76)
Deuteranopia (Green-blind)
#6A6552 — rgb(106, 101, 82)
Tritanopia (Blue-blind)
#525F63 — rgb(82, 95, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(104, 50%, 40%);
text
color: hsl(104, 50%, 40%);
border
border: 2px solid hsl(104, 50%, 40%);
gradient light
background: linear-gradient(to right, hsl(104, 50%, 60%), hsl(104, 50%, 40%));
gradient dark
background: linear-gradient(to right, hsl(104, 50%, 40%), hsl(104, 50%, 20%))
hex
background-color: #4E9933;
tailwind
bg-[hsl(104,50%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(104, 50%, 40%, 0.4);
css variable
--color-primary: hsl(104, 50%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(104, 50%, 40%)?
HEX: #4E9933 | RGB: rgb(78, 153, 51) | CMYK: 49%, 0%, 67%, 40% | HSV: 104°, 67%, 60%. Copy any format from the conversion table above.
What colors go well with #4E9933?
The complementary color is HSL(284, 50%, 40%). For a triadic harmony, use hues 104°, 224°, and 344°. For analogous combinations, try hues 74° and 134°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(104, 50%, 40%) in CSS?
As HSL: color: hsl(104, 50%, 40%); — As HEX: color: #4E9933; — As RGB: color: rgb(78, 153, 51); — Tailwind CSS: bg-[hsl(104,50%,40%)] — CSS variable: --color-primary: hsl(104, 50%, 40%);