HSL(96, 40%, 32%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(96,40%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(96, 40%, 32%) | color: hsl(96, 40%, 32%) | |
| HEX | #4B7231 | color: #4B7231 | |
| RGB | rgb(75, 114, 49) | color: rgb(75, 114, 49) | |
| CMYK | cmyk(34%, 0%, 57%, 55%) | — | |
| HSV | hsv(96, 57%, 45%) | — | |
| HWB | hwb(96 19% 55%) | color: hwb(96 19% 55%) | |
| OKLCH | oklch(0.5072 0.1039 134.42) | color: oklch(0.5072 0.1039 134.42) | |
| Lab | lab(43.87 -26.26 31.33) | color: lab(43.87 -26.26 31.33) | |
| LCH | lch(43.87 40.88 129.97) | color: lch(43.87 40.88 129.97) |
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)
#5C5C41 — rgb(92, 92, 65)
Deuteranopia (Green-blind)
#5A5745 — rgb(90, 87, 69)
Tritanopia (Blue-blind)
#4D4D50 — rgb(77, 77, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(96, 40%, 32%);
text
color: hsl(96, 40%, 32%);
border
border: 2px solid hsl(96, 40%, 32%);
gradient light
background: linear-gradient(to right, hsl(96, 40%, 52%), hsl(96, 40%, 32%));
gradient dark
background: linear-gradient(to right, hsl(96, 40%, 32%), hsl(96, 40%, 12%))
hex
background-color: #4B7231;
tailwind
bg-[hsl(96,40%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(96, 40%, 32%, 0.4);
css variable
--color-primary: hsl(96, 40%, 32%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(96, 40%, 32%)?
HEX: #4B7231 | RGB: rgb(75, 114, 49) | CMYK: 34%, 0%, 57%, 55% | HSV: 96°, 57%, 45%. Copy any format from the conversion table above.
What colors go well with #4B7231?
The complementary color is HSL(276, 40%, 32%). 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, 40%, 32%) in CSS?
As HSL: color: hsl(96, 40%, 32%); — As HEX: color: #4B7231; — As RGB: color: rgb(75, 114, 49); — Tailwind CSS: bg-[hsl(96,40%,32%)] — CSS variable: --color-primary: hsl(96, 40%, 32%);