HSL(79, 50%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(79,50%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(79, 50%, 30%) | color: hsl(79, 50%, 30%) | |
| HEX | #5B7326 | color: #5B7326 | |
| RGB | rgb(91, 115, 38) | color: rgb(91, 115, 38) | |
| CMYK | cmyk(21%, 0%, 67%, 55%) | — | |
| HSV | hsv(79, 67%, 45%) | — | |
| HWB | hwb(79 15% 55%) | color: hwb(79 15% 55%) | |
| OKLCH | oklch(0.5196 0.1069 124.8) | color: oklch(0.5196 0.1069 124.8) | |
| Lab | lab(45.12 -21.3 38.41) | color: lab(45.12 -21.3 38.41) | |
| LCH | lch(45.12 43.92 119.01) | color: lch(45.12 43.92 119.01) |
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)
#656639 — rgb(101, 102, 57)
Deuteranopia (Green-blind)
#64623D — rgb(100, 98, 61)
Tritanopia (Blue-blind)
#5C474B — rgb(92, 71, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(79, 50%, 30%);
text
color: hsl(79, 50%, 30%);
border
border: 2px solid hsl(79, 50%, 30%);
gradient light
background: linear-gradient(to right, hsl(79, 50%, 50%), hsl(79, 50%, 30%));
gradient dark
background: linear-gradient(to right, hsl(79, 50%, 30%), hsl(79, 50%, 10%))
hex
background-color: #5B7326;
tailwind
bg-[hsl(79,50%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(79, 50%, 30%, 0.4);
css variable
--color-primary: hsl(79, 50%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(79, 50%, 30%)?
HEX: #5B7326 | RGB: rgb(91, 115, 38) | CMYK: 21%, 0%, 67%, 55% | HSV: 79°, 67%, 45%. Copy any format from the conversion table above.
What colors go well with #5B7326?
The complementary color is HSL(259, 50%, 30%). For a triadic harmony, use hues 79°, 199°, and 319°. For analogous combinations, try hues 49° and 109°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(79, 50%, 30%) in CSS?
As HSL: color: hsl(79, 50%, 30%); — As HEX: color: #5B7326; — As RGB: color: rgb(91, 115, 38); — Tailwind CSS: bg-[hsl(79,50%,30%)] — CSS variable: --color-primary: hsl(79, 50%, 30%);