HSL(116, 14%, 40%)
Grayish Green — Green color
Adjust Color
Color Information
Color Name
Grayish Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(116,14%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(116, 14%, 40%) | color: hsl(116, 14%, 40%) | |
| HEX | #5A7458 | color: #5A7458 | |
| RGB | rgb(90, 116, 88) | color: rgb(90, 116, 88) | |
| CMYK | cmyk(22%, 0%, 24%, 55%) | — | |
| HSV | hsv(116, 24%, 45%) | — | |
| HWB | hwb(116 34% 55%) | color: hwb(116 34% 55%) | |
| OKLCH | oklch(0.5301 0.0528 142.97) | color: oklch(0.5301 0.0528 142.97) | |
| Lab | lab(46.14 -15.45 12.45) | color: lab(46.14 -15.45 12.45) | |
| LCH | lch(46.14 19.84 141.14) | color: lch(46.14 19.84 141.14) |
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)
#65655F — rgb(101, 101, 95)
Deuteranopia (Green-blind)
#646260 — rgb(100, 98, 96)
Tritanopia (Blue-blind)
#5B6465 — rgb(91, 100, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(116, 14%, 40%);
text
color: hsl(116, 14%, 40%);
border
border: 2px solid hsl(116, 14%, 40%);
gradient light
background: linear-gradient(to right, hsl(116, 14%, 60%), hsl(116, 14%, 40%));
gradient dark
background: linear-gradient(to right, hsl(116, 14%, 40%), hsl(116, 14%, 20%))
hex
background-color: #5A7458;
tailwind
bg-[hsl(116,14%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(116, 14%, 40%, 0.4);
css variable
--color-primary: hsl(116, 14%, 40%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(116, 14%, 40%)?
HEX: #5A7458 | RGB: rgb(90, 116, 88) | CMYK: 22%, 0%, 24%, 55% | HSV: 116°, 24%, 45%. Copy any format from the conversion table above.
What colors go well with #5A7458?
The complementary color is HSL(296, 14%, 40%). For a triadic harmony, use hues 116°, 236°, and 356°. For analogous combinations, try hues 86° and 146°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(116, 14%, 40%) in CSS?
As HSL: color: hsl(116, 14%, 40%); — As HEX: color: #5A7458; — As RGB: color: rgb(90, 116, 88); — Tailwind CSS: bg-[hsl(116,14%,40%)] — CSS variable: --color-primary: hsl(116, 14%, 40%);