HSL(86, 16%, 16%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(86,16%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(86, 16%, 16%) | color: hsl(86, 16%, 16%) | |
| HEX | #2A2F22 | color: #2A2F22 | |
| RGB | rgb(42, 47, 34) | color: rgb(42, 47, 34) | |
| CMYK | cmyk(11%, 0%, 28%, 82%) | — | |
| HSV | hsv(83, 28%, 18%) | — | |
| HWB | hwb(83 13% 82%) | color: hwb(83 13% 82%) | |
| OKLCH | oklch(0.296 0.0237 124.92) | color: oklch(0.296 0.0237 124.92) | |
| Lab | lab(18.54 -5.12 7.65) | color: lab(18.54 -5.12 7.65) | |
| LCH | lch(18.54 9.21 123.79) | color: lch(18.54 9.21 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)
#2C2C25 — rgb(44, 44, 37)
Deuteranopia (Green-blind)
#2C2C26 — rgb(44, 44, 38)
Tritanopia (Blue-blind)
#2A2828 — rgb(42, 40, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(86, 16%, 16%);
text
color: hsl(86, 16%, 16%);
border
border: 2px solid hsl(86, 16%, 16%);
gradient light
background: linear-gradient(to right, hsl(86, 16%, 36%), hsl(86, 16%, 16%));
gradient dark
background: linear-gradient(to right, hsl(86, 16%, 16%), hsl(86, 16%, 0%))
hex
background-color: #2A2F22;
tailwind
bg-[hsl(86,16%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(86, 16%, 16%, 0.4);
css variable
--color-primary: hsl(86, 16%, 16%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(86, 16%, 16%)?
HEX: #2A2F22 | RGB: rgb(42, 47, 34) | CMYK: 11%, 0%, 28%, 82% | HSV: 83°, 28%, 18%. Copy any format from the conversion table above.
What colors go well with #2A2F22?
The complementary color is HSL(266, 16%, 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, 16%, 16%) in CSS?
As HSL: color: hsl(86, 16%, 16%); — As HEX: color: #2A2F22; — As RGB: color: rgb(42, 47, 34); — Tailwind CSS: bg-[hsl(86,16%,16%)] — CSS variable: --color-primary: hsl(86, 16%, 16%);