HSL(87, 31%, 7%)
Very Dark Green — Green color
Adjust Color
Color Information
Color Name
Very Dark Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,31%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 31%, 7%) | color: hsl(87, 31%, 7%) | |
| HEX | #12170C | color: #12170C | |
| RGB | rgb(18, 23, 12) | color: rgb(18, 23, 12) | |
| CMYK | cmyk(22%, 0%, 48%, 91%) | — | |
| HSV | hsv(87, 48%, 9%) | — | |
| HWB | hwb(87 5% 91%) | color: hwb(87 5% 91%) | |
| OKLCH | oklch(0.1955 0.0224 128.18) | color: oklch(0.1955 0.0224 128.18) | |
| Lab | lab(6.94 -4.41 5.33) | color: lab(6.94 -4.41 5.33) | |
| LCH | lch(6.94 6.92 129.6) | color: lch(6.94 6.92 129.6) |
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)
#14140F — rgb(20, 20, 15)
Deuteranopia (Green-blind)
#14140F — rgb(20, 20, 15)
Tritanopia (Blue-blind)
#121111 — rgb(18, 17, 17)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 31%, 7%);
text
color: hsl(87, 31%, 7%);
border
border: 2px solid hsl(87, 31%, 7%);
gradient light
background: linear-gradient(to right, hsl(87, 31%, 27%), hsl(87, 31%, 7%));
gradient dark
background: linear-gradient(to right, hsl(87, 31%, 7%), hsl(87, 31%, 0%))
hex
background-color: #12170C;
tailwind
bg-[hsl(87,31%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 31%, 7%, 0.4);
css variable
--color-primary: hsl(87, 31%, 7%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(87, 31%, 7%)?
HEX: #12170C | RGB: rgb(18, 23, 12) | CMYK: 22%, 0%, 48%, 91% | HSV: 87°, 48%, 9%. Copy any format from the conversion table above.
What colors go well with #12170C?
The complementary color is HSL(267, 31%, 7%). 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, 31%, 7%) in CSS?
As HSL: color: hsl(87, 31%, 7%); — As HEX: color: #12170C; — As RGB: color: rgb(18, 23, 12); — Tailwind CSS: bg-[hsl(87,31%,7%)] — CSS variable: --color-primary: hsl(87, 31%, 7%);