HSL(107, 16%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(107,16%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(107, 16%, 40%) | color: hsl(107, 16%, 40%) | |
| HEX | #5D7656 | color: #5D7656 | |
| RGB | rgb(93, 118, 86) | color: rgb(93, 118, 86) | |
| CMYK | cmyk(21%, 0%, 27%, 54%) | — | |
| HSV | hsv(107, 27%, 46%) | — | |
| HWB | hwb(107 34% 54%) | color: hwb(107 34% 54%) | |
| OKLCH | oklch(0.5368 0.0569 138.9) | color: oklch(0.5368 0.0569 138.9) | |
| Lab | lab(46.92 -15.76 14.73) | color: lab(46.92 -15.76 14.73) | |
| LCH | lch(46.92 21.57 136.93) | color: lch(46.92 21.57 136.93) |
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)
#68685E — rgb(104, 104, 94)
Deuteranopia (Green-blind)
#666560 — rgb(102, 101, 96)
Tritanopia (Blue-blind)
#5E6465 — rgb(94, 100, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(107, 16%, 40%);
text
color: hsl(107, 16%, 40%);
border
border: 2px solid hsl(107, 16%, 40%);
gradient light
background: linear-gradient(to right, hsl(107, 16%, 60%), hsl(107, 16%, 40%));
gradient dark
background: linear-gradient(to right, hsl(107, 16%, 40%), hsl(107, 16%, 20%))
hex
background-color: #5D7656;
tailwind
bg-[hsl(107,16%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(107, 16%, 40%, 0.4);
css variable
--color-primary: hsl(107, 16%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(107, 16%, 40%)?
HEX: #5D7656 | RGB: rgb(93, 118, 86) | CMYK: 21%, 0%, 27%, 54% | HSV: 107°, 27%, 46%. Copy any format from the conversion table above.
What colors go well with #5D7656?
The complementary color is HSL(287, 16%, 40%). For a triadic harmony, use hues 107°, 227°, and 347°. For analogous combinations, try hues 77° and 137°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(107, 16%, 40%) in CSS?
As HSL: color: hsl(107, 16%, 40%); — As HEX: color: #5D7656; — As RGB: color: rgb(93, 118, 86); — Tailwind CSS: bg-[hsl(107,16%,40%)] — CSS variable: --color-primary: hsl(107, 16%, 40%);