HSL(71, 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(71,16%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(71, 16%, 16%) | color: hsl(71, 16%, 16%) | |
| HEX | #2D2F22 | color: #2D2F22 | |
| RGB | rgb(45, 47, 34) | color: rgb(45, 47, 34) | |
| CMYK | cmyk(4%, 0%, 28%, 82%) | — | |
| HSV | hsv(69, 28%, 18%) | — | |
| HWB | hwb(69 13% 82%) | color: hwb(69 13% 82%) | |
| OKLCH | oklch(0.2989 0.0226 114.89) | color: oklch(0.2989 0.0226 114.89) | |
| Lab | lab(18.83 -3.69 8.08) | color: lab(18.83 -3.69 8.08) | |
| LCH | lch(18.83 8.88 114.55) | color: lch(18.83 8.88 114.55) |
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)
#2E2E25 — rgb(46, 46, 37)
Deuteranopia (Green-blind)
#2E2E26 — rgb(46, 46, 38)
Tritanopia (Blue-blind)
#2D2828 — rgb(45, 40, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(71, 16%, 16%);
text
color: hsl(71, 16%, 16%);
border
border: 2px solid hsl(71, 16%, 16%);
gradient light
background: linear-gradient(to right, hsl(71, 16%, 36%), hsl(71, 16%, 16%));
gradient dark
background: linear-gradient(to right, hsl(71, 16%, 16%), hsl(71, 16%, 0%))
hex
background-color: #2D2F22;
tailwind
bg-[hsl(71,16%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(71, 16%, 16%, 0.4);
css variable
--color-primary: hsl(71, 16%, 16%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(71, 16%, 16%)?
HEX: #2D2F22 | RGB: rgb(45, 47, 34) | CMYK: 4%, 0%, 28%, 82% | HSV: 69°, 28%, 18%. Copy any format from the conversion table above.
What colors go well with #2D2F22?
The complementary color is HSL(251, 16%, 16%). For a triadic harmony, use hues 71°, 191°, and 311°. For analogous combinations, try hues 41° and 101°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(71, 16%, 16%) in CSS?
As HSL: color: hsl(71, 16%, 16%); — As HEX: color: #2D2F22; — As RGB: color: rgb(45, 47, 34); — Tailwind CSS: bg-[hsl(71,16%,16%)] — CSS variable: --color-primary: hsl(71, 16%, 16%);