HSL(82, 20%, 34%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(82,20%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(82, 20%, 34%) | color: hsl(82, 20%, 34%) | |
| HEX | #5B6845 | color: #5B6845 | |
| RGB | rgb(91, 104, 69) | color: rgb(91, 104, 69) | |
| CMYK | cmyk(13%, 0%, 34%, 59%) | — | |
| HSV | hsv(82, 34%, 41%) | — | |
| HWB | hwb(82 27% 59%) | color: hwb(82 27% 59%) | |
| OKLCH | oklch(0.4966 0.0552 124.92) | color: oklch(0.4966 0.0552 124.92) | |
| Lab | lab(42.08 -11.68 18.13) | color: lab(42.08 -11.68 18.13) | |
| LCH | lch(42.08 21.57 122.79) | color: lch(42.08 21.57 122.79) |
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)
#61614D — rgb(97, 97, 77)
Deuteranopia (Green-blind)
#605F50 — rgb(96, 95, 80)
Tritanopia (Blue-blind)
#5C5456 — rgb(92, 84, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(82, 20%, 34%);
text
color: hsl(82, 20%, 34%);
border
border: 2px solid hsl(82, 20%, 34%);
gradient light
background: linear-gradient(to right, hsl(82, 20%, 54%), hsl(82, 20%, 34%));
gradient dark
background: linear-gradient(to right, hsl(82, 20%, 34%), hsl(82, 20%, 14%))
hex
background-color: #5B6845;
tailwind
bg-[hsl(82,20%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(82, 20%, 34%, 0.4);
css variable
--color-primary: hsl(82, 20%, 34%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(82, 20%, 34%)?
HEX: #5B6845 | RGB: rgb(91, 104, 69) | CMYK: 13%, 0%, 34%, 59% | HSV: 82°, 34%, 41%. Copy any format from the conversion table above.
What colors go well with #5B6845?
The complementary color is HSL(262, 20%, 34%). For a triadic harmony, use hues 82°, 202°, and 322°. For analogous combinations, try hues 52° and 112°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(82, 20%, 34%) in CSS?
As HSL: color: hsl(82, 20%, 34%); — As HEX: color: #5B6845; — As RGB: color: rgb(91, 104, 69); — Tailwind CSS: bg-[hsl(82,20%,34%)] — CSS variable: --color-primary: hsl(82, 20%, 34%);