HSL(104, 30%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(104,30%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(104, 30%, 40%) | color: hsl(104, 30%, 40%) | |
| HEX | #588547 | color: #588547 | |
| RGB | rgb(88, 133, 71) | color: rgb(88, 133, 71) | |
| CMYK | cmyk(34%, 0%, 47%, 48%) | — | |
| HSV | hsv(104, 47%, 52%) | — | |
| HWB | hwb(104 28% 48%) | color: hwb(104 28% 48%) | |
| OKLCH | oklch(0.5684 0.1031 137.62) | color: oklch(0.5684 0.1031 137.62) | |
| Lab | lab(51.04 -27.78 28.56) | color: lab(51.04 -27.78 28.56) | |
| LCH | lch(51.04 39.84 134.21) | color: lch(51.04 39.84 134.21) |
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)
#6B6C56 — rgb(107, 108, 86)
Deuteranopia (Green-blind)
#69665A — rgb(105, 102, 90)
Tritanopia (Blue-blind)
#5A6264 — rgb(90, 98, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(104, 30%, 40%);
text
color: hsl(104, 30%, 40%);
border
border: 2px solid hsl(104, 30%, 40%);
gradient light
background: linear-gradient(to right, hsl(104, 30%, 60%), hsl(104, 30%, 40%));
gradient dark
background: linear-gradient(to right, hsl(104, 30%, 40%), hsl(104, 30%, 20%))
hex
background-color: #588547;
tailwind
bg-[hsl(104,30%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(104, 30%, 40%, 0.4);
css variable
--color-primary: hsl(104, 30%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(104, 30%, 40%)?
HEX: #588547 | RGB: rgb(88, 133, 71) | CMYK: 34%, 0%, 47%, 48% | HSV: 104°, 47%, 52%. Copy any format from the conversion table above.
What colors go well with #588547?
The complementary color is HSL(284, 30%, 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, 30%, 40%) in CSS?
As HSL: color: hsl(104, 30%, 40%); — As HEX: color: #588547; — As RGB: color: rgb(88, 133, 71); — Tailwind CSS: bg-[hsl(104,30%,40%)] — CSS variable: --color-primary: hsl(104, 30%, 40%);