HSL(104, 20%, 39%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(104,20%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(104, 20%, 39%) | color: hsl(104, 20%, 39%) | |
| HEX | #5A7750 | color: #5A7750 | |
| RGB | rgb(90, 119, 80) | color: rgb(90, 119, 80) | |
| CMYK | cmyk(24%, 0%, 33%, 53%) | — | |
| HSV | hsv(105, 33%, 47%) | — | |
| HWB | hwb(105 31% 53%) | color: hwb(105 31% 53%) | |
| OKLCH | oklch(0.5357 0.068 137.85) | color: oklch(0.5357 0.068 137.85) | |
| Lab | lab(46.9 -18.5 18.16) | color: lab(46.9 -18.5 18.16) | |
| LCH | lch(46.9 25.92 135.53) | color: lch(46.9 25.92 135.53) |
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)
#676759 — rgb(103, 103, 89)
Deuteranopia (Green-blind)
#65635C — rgb(101, 99, 92)
Tritanopia (Blue-blind)
#5B6163 — rgb(91, 97, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(104, 20%, 39%);
text
color: hsl(104, 20%, 39%);
border
border: 2px solid hsl(104, 20%, 39%);
gradient light
background: linear-gradient(to right, hsl(104, 20%, 59%), hsl(104, 20%, 39%));
gradient dark
background: linear-gradient(to right, hsl(104, 20%, 39%), hsl(104, 20%, 19%))
hex
background-color: #5A7750;
tailwind
bg-[hsl(104,20%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(104, 20%, 39%, 0.4);
css variable
--color-primary: hsl(104, 20%, 39%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(104, 20%, 39%)?
HEX: #5A7750 | RGB: rgb(90, 119, 80) | CMYK: 24%, 0%, 33%, 53% | HSV: 105°, 33%, 47%. Copy any format from the conversion table above.
What colors go well with #5A7750?
The complementary color is HSL(284, 20%, 39%). 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, 20%, 39%) in CSS?
As HSL: color: hsl(104, 20%, 39%); — As HEX: color: #5A7750; — As RGB: color: rgb(90, 119, 80); — Tailwind CSS: bg-[hsl(104,20%,39%)] — CSS variable: --color-primary: hsl(104, 20%, 39%);