HSL(96, 20%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(96,20%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(96, 20%, 31%) | color: hsl(96, 20%, 31%) | |
| HEX | #4C5F3F | color: #4C5F3F | |
| RGB | rgb(76, 95, 63) | color: rgb(76, 95, 63) | |
| CMYK | cmyk(20%, 0%, 34%, 63%) | — | |
| HSV | hsv(96, 34%, 37%) | — | |
| HWB | hwb(96 24% 63%) | color: hwb(96 24% 63%) | |
| OKLCH | oklch(0.4605 0.055 133.15) | color: oklch(0.4605 0.055 133.15) | |
| Lab | lab(37.99 -13.85 16.02) | color: lab(37.99 -13.85 16.02) | |
| LCH | lch(37.99 21.18 130.84) | color: lch(37.99 21.18 130.84) |
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)
#545447 — rgb(84, 84, 71)
Deuteranopia (Green-blind)
#535249 — rgb(83, 82, 73)
Tritanopia (Blue-blind)
#4D4D4E — rgb(77, 77, 78)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(96, 20%, 31%);
text
color: hsl(96, 20%, 31%);
border
border: 2px solid hsl(96, 20%, 31%);
gradient light
background: linear-gradient(to right, hsl(96, 20%, 51%), hsl(96, 20%, 31%));
gradient dark
background: linear-gradient(to right, hsl(96, 20%, 31%), hsl(96, 20%, 11%))
hex
background-color: #4C5F3F;
tailwind
bg-[hsl(96,20%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(96, 20%, 31%, 0.4);
css variable
--color-primary: hsl(96, 20%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(96, 20%, 31%)?
HEX: #4C5F3F | RGB: rgb(76, 95, 63) | CMYK: 20%, 0%, 34%, 63% | HSV: 96°, 34%, 37%. Copy any format from the conversion table above.
What colors go well with #4C5F3F?
The complementary color is HSL(276, 20%, 31%). For a triadic harmony, use hues 96°, 216°, and 336°. For analogous combinations, try hues 66° and 126°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(96, 20%, 31%) in CSS?
As HSL: color: hsl(96, 20%, 31%); — As HEX: color: #4C5F3F; — As RGB: color: rgb(76, 95, 63); — Tailwind CSS: bg-[hsl(96,20%,31%)] — CSS variable: --color-primary: hsl(96, 20%, 31%);