HSL(76, 40%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(76,40%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(76, 40%, 30%) | color: hsl(76, 40%, 30%) | |
| HEX | #5B6B2E | color: #5B6B2E | |
| RGB | rgb(91, 107, 46) | color: rgb(91, 107, 46) | |
| CMYK | cmyk(15%, 0%, 57%, 58%) | — | |
| HSV | hsv(76, 57%, 42%) | — | |
| HWB | hwb(76 18% 58%) | color: hwb(76 18% 58%) | |
| OKLCH | oklch(0.5001 0.0878 121.86) | color: oklch(0.5001 0.0878 121.86) | |
| Lab | lab(42.67 -16.32 31.74) | color: lab(42.67 -16.32 31.74) | |
| LCH | lch(42.67 35.69 117.21) | color: lch(42.67 35.69 117.21) |
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)
#62623D — rgb(98, 98, 61)
Deuteranopia (Green-blind)
#616040 — rgb(97, 96, 64)
Tritanopia (Blue-blind)
#5C484B — rgb(92, 72, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(76, 40%, 30%);
text
color: hsl(76, 40%, 30%);
border
border: 2px solid hsl(76, 40%, 30%);
gradient light
background: linear-gradient(to right, hsl(76, 40%, 50%), hsl(76, 40%, 30%));
gradient dark
background: linear-gradient(to right, hsl(76, 40%, 30%), hsl(76, 40%, 10%))
hex
background-color: #5B6B2E;
tailwind
bg-[hsl(76,40%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(76, 40%, 30%, 0.4);
css variable
--color-primary: hsl(76, 40%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(76, 40%, 30%)?
HEX: #5B6B2E | RGB: rgb(91, 107, 46) | CMYK: 15%, 0%, 57%, 58% | HSV: 76°, 57%, 42%. Copy any format from the conversion table above.
What colors go well with #5B6B2E?
The complementary color is HSL(256, 40%, 30%). For a triadic harmony, use hues 76°, 196°, and 316°. For analogous combinations, try hues 46° and 106°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(76, 40%, 30%) in CSS?
As HSL: color: hsl(76, 40%, 30%); — As HEX: color: #5B6B2E; — As RGB: color: rgb(91, 107, 46); — Tailwind CSS: bg-[hsl(76,40%,30%)] — CSS variable: --color-primary: hsl(76, 40%, 30%);