HSL(86, 20%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(86,20%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(86, 20%, 21%) | color: hsl(86, 20%, 21%) | |
| HEX | #37402B | color: #37402B | |
| RGB | rgb(55, 64, 43) | color: rgb(55, 64, 43) | |
| CMYK | cmyk(14%, 0%, 33%, 75%) | — | |
| HSV | hsv(86, 33%, 25%) | — | |
| HWB | hwb(86 17% 75%) | color: hwb(86 17% 75%) | |
| OKLCH | oklch(0.3568 0.0367 127.02) | color: oklch(0.3568 0.0367 127.02) | |
| Lab | lab(25.72 -8.2 11.66) | color: lab(25.72 -8.2 11.66) | |
| LCH | lch(25.72 14.25 125.12) | color: lch(25.72 14.25 125.12) |
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)
#3B3B30 — rgb(59, 59, 48)
Deuteranopia (Green-blind)
#3A3A31 — rgb(58, 58, 49)
Tritanopia (Blue-blind)
#373435 — rgb(55, 52, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(86, 20%, 21%);
text
color: hsl(86, 20%, 21%);
border
border: 2px solid hsl(86, 20%, 21%);
gradient light
background: linear-gradient(to right, hsl(86, 20%, 41%), hsl(86, 20%, 21%));
gradient dark
background: linear-gradient(to right, hsl(86, 20%, 21%), hsl(86, 20%, 1%))
hex
background-color: #37402B;
tailwind
bg-[hsl(86,20%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(86, 20%, 21%, 0.4);
css variable
--color-primary: hsl(86, 20%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(86, 20%, 21%)?
HEX: #37402B | RGB: rgb(55, 64, 43) | CMYK: 14%, 0%, 33%, 75% | HSV: 86°, 33%, 25%. Copy any format from the conversion table above.
What colors go well with #37402B?
The complementary color is HSL(266, 20%, 21%). For a triadic harmony, use hues 86°, 206°, and 326°. For analogous combinations, try hues 56° and 116°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(86, 20%, 21%) in CSS?
As HSL: color: hsl(86, 20%, 21%); — As HEX: color: #37402B; — As RGB: color: rgb(55, 64, 43); — Tailwind CSS: bg-[hsl(86,20%,21%)] — CSS variable: --color-primary: hsl(86, 20%, 21%);