HSL(86, 36%, 16%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(86,36%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(86, 36%, 16%) | color: hsl(86, 36%, 16%) | |
| HEX | #2B371A | color: #2B371A | |
| RGB | rgb(43, 55, 26) | color: rgb(43, 55, 26) | |
| CMYK | cmyk(22%, 0%, 53%, 78%) | — | |
| HSV | hsv(85, 53%, 22%) | — | |
| HWB | hwb(85 10% 78%) | color: hwb(85 10% 78%) | |
| OKLCH | oklch(0.3176 0.0503 127.44) | color: oklch(0.3176 0.0503 127.44) | |
| Lab | lab(21.28 -11.05 16.51) | color: lab(21.28 -11.05 16.51) | |
| LCH | lch(21.28 19.87 123.79) | color: lch(21.28 19.87 123.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)
#303021 — rgb(48, 48, 33)
Deuteranopia (Green-blind)
#302F23 — rgb(48, 47, 35)
Tritanopia (Blue-blind)
#2C2728 — rgb(44, 39, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(86, 36%, 16%);
text
color: hsl(86, 36%, 16%);
border
border: 2px solid hsl(86, 36%, 16%);
gradient light
background: linear-gradient(to right, hsl(86, 36%, 36%), hsl(86, 36%, 16%));
gradient dark
background: linear-gradient(to right, hsl(86, 36%, 16%), hsl(86, 36%, 0%))
hex
background-color: #2B371A;
tailwind
bg-[hsl(86,36%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(86, 36%, 16%, 0.4);
css variable
--color-primary: hsl(86, 36%, 16%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(86, 36%, 16%)?
HEX: #2B371A | RGB: rgb(43, 55, 26) | CMYK: 22%, 0%, 53%, 78% | HSV: 85°, 53%, 22%. Copy any format from the conversion table above.
What colors go well with #2B371A?
The complementary color is HSL(266, 36%, 16%). 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, 36%, 16%) in CSS?
As HSL: color: hsl(86, 36%, 16%); — As HEX: color: #2B371A; — As RGB: color: rgb(43, 55, 26); — Tailwind CSS: bg-[hsl(86,36%,16%)] — CSS variable: --color-primary: hsl(86, 36%, 16%);