HSL(87, 43%, 16%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,43%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 43%, 16%) | color: hsl(87, 43%, 16%) | |
| HEX | #2B3A17 | color: #2B3A17 | |
| RGB | rgb(43, 58, 23) | color: rgb(43, 58, 23) | |
| CMYK | cmyk(26%, 0%, 60%, 77%) | — | |
| HSV | hsv(86, 60%, 23%) | — | |
| HWB | hwb(86 9% 77%) | color: hwb(86 9% 77%) | |
| OKLCH | oklch(0.3257 0.0594 128.5) | color: oklch(0.3257 0.0594 128.5) | |
| Lab | lab(22.31 -13.24 19.58) | color: lab(22.31 -13.24 19.58) | |
| LCH | lch(22.31 23.64 124.07) | color: lch(22.31 23.64 124.07) |
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)
#31321F — rgb(49, 50, 31)
Deuteranopia (Green-blind)
#313022 — rgb(49, 48, 34)
Tritanopia (Blue-blind)
#2C2628 — rgb(44, 38, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 43%, 16%);
text
color: hsl(87, 43%, 16%);
border
border: 2px solid hsl(87, 43%, 16%);
gradient light
background: linear-gradient(to right, hsl(87, 43%, 36%), hsl(87, 43%, 16%));
gradient dark
background: linear-gradient(to right, hsl(87, 43%, 16%), hsl(87, 43%, 0%))
hex
background-color: #2B3A17;
tailwind
bg-[hsl(87,43%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 43%, 16%, 0.4);
css variable
--color-primary: hsl(87, 43%, 16%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 43%, 16%)?
HEX: #2B3A17 | RGB: rgb(43, 58, 23) | CMYK: 26%, 0%, 60%, 77% | HSV: 86°, 60%, 23%. Copy any format from the conversion table above.
What colors go well with #2B3A17?
The complementary color is HSL(267, 43%, 16%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 43%, 16%) in CSS?
As HSL: color: hsl(87, 43%, 16%); — As HEX: color: #2B3A17; — As RGB: color: rgb(43, 58, 23); — Tailwind CSS: bg-[hsl(87,43%,16%)] — CSS variable: --color-primary: hsl(87, 43%, 16%);