HSL(91, 12%, 31%)
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(91,12%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(91, 12%, 31%) | color: hsl(91, 12%, 31%) | |
| HEX | #4F5946 | color: #4F5946 | |
| RGB | rgb(79, 89, 70) | color: rgb(79, 89, 70) | |
| CMYK | cmyk(11%, 0%, 21%, 65%) | — | |
| HSV | hsv(92, 21%, 35%) | — | |
| HWB | hwb(92 28% 65%) | color: hwb(92 28% 65%) | |
| OKLCH | oklch(0.4494 0.0326 130.28) | color: oklch(0.4494 0.0326 130.28) | |
| Lab | lab(36.46 -7.89 9.71) | color: lab(36.46 -7.89 9.71) | |
| LCH | lch(36.46 12.51 129.1) | color: lch(36.46 12.51 129.1) |
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)
#53534B — rgb(83, 83, 75)
Deuteranopia (Green-blind)
#53524C — rgb(83, 82, 76)
Tritanopia (Blue-blind)
#504E4F — rgb(80, 78, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(91, 12%, 31%);
text
color: hsl(91, 12%, 31%);
border
border: 2px solid hsl(91, 12%, 31%);
gradient light
background: linear-gradient(to right, hsl(91, 12%, 51%), hsl(91, 12%, 31%));
gradient dark
background: linear-gradient(to right, hsl(91, 12%, 31%), hsl(91, 12%, 11%))
hex
background-color: #4F5946;
tailwind
bg-[hsl(91,12%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(91, 12%, 31%, 0.4);
css variable
--color-primary: hsl(91, 12%, 31%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(91, 12%, 31%)?
HEX: #4F5946 | RGB: rgb(79, 89, 70) | CMYK: 11%, 0%, 21%, 65% | HSV: 92°, 21%, 35%. Copy any format from the conversion table above.
What colors go well with #4F5946?
The complementary color is HSL(271, 12%, 31%). For a triadic harmony, use hues 91°, 211°, and 331°. For analogous combinations, try hues 61° and 121°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(91, 12%, 31%) in CSS?
As HSL: color: hsl(91, 12%, 31%); — As HEX: color: #4F5946; — As RGB: color: rgb(79, 89, 70); — Tailwind CSS: bg-[hsl(91,12%,31%)] — CSS variable: --color-primary: hsl(91, 12%, 31%);