HSL(82, 54%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(82,54%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(82, 54%, 21%) | color: hsl(82, 54%, 21%) | |
| HEX | #3D5219 | color: #3D5219 | |
| RGB | rgb(61, 82, 25) | color: rgb(61, 82, 25) | |
| CMYK | cmyk(26%, 0%, 70%, 68%) | — | |
| HSV | hsv(82, 70%, 32%) | — | |
| HWB | hwb(82 10% 68%) | color: hwb(82 10% 68%) | |
| OKLCH | oklch(0.4078 0.0859 127.11) | color: oklch(0.4078 0.0859 127.11) | |
| Lab | lab(32.03 -18.21 29.86) | color: lab(32.03 -18.21 29.86) | |
| LCH | lch(32.03 34.97 121.38) | color: lch(32.03 34.97 121.38) |
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)
#464627 — rgb(70, 70, 39)
Deuteranopia (Green-blind)
#45432A — rgb(69, 67, 42)
Tritanopia (Blue-blind)
#3E3234 — rgb(62, 50, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(82, 54%, 21%);
text
color: hsl(82, 54%, 21%);
border
border: 2px solid hsl(82, 54%, 21%);
gradient light
background: linear-gradient(to right, hsl(82, 54%, 41%), hsl(82, 54%, 21%));
gradient dark
background: linear-gradient(to right, hsl(82, 54%, 21%), hsl(82, 54%, 1%))
hex
background-color: #3D5219;
tailwind
bg-[hsl(82,54%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(82, 54%, 21%, 0.4);
css variable
--color-primary: hsl(82, 54%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(82, 54%, 21%)?
HEX: #3D5219 | RGB: rgb(61, 82, 25) | CMYK: 26%, 0%, 70%, 68% | HSV: 82°, 70%, 32%. Copy any format from the conversion table above.
What colors go well with #3D5219?
The complementary color is HSL(262, 54%, 21%). 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, 54%, 21%) in CSS?
As HSL: color: hsl(82, 54%, 21%); — As HEX: color: #3D5219; — As RGB: color: rgb(61, 82, 25); — Tailwind CSS: bg-[hsl(82,54%,21%)] — CSS variable: --color-primary: hsl(82, 54%, 21%);