HSL(87, 36%, 9%)
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,36%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 36%, 9%) | color: hsl(87, 36%, 9%) | |
| HEX | #181F0F | color: #181F0F | |
| RGB | rgb(24, 31, 15) | color: rgb(24, 31, 15) | |
| CMYK | cmyk(23%, 0%, 52%, 88%) | — | |
| HSV | hsv(86, 52%, 12%) | — | |
| HWB | hwb(86 6% 88%) | color: hwb(86 6% 88%) | |
| OKLCH | oklch(0.2271 0.0309 127.9) | color: oklch(0.2271 0.0309 127.9) | |
| Lab | lab(10.62 -6.93 9.23) | color: lab(10.62 -6.93 9.23) | |
| LCH | lch(10.62 11.54 126.9) | color: lch(10.62 11.54 126.9) |
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)
#1B1B13 — rgb(27, 27, 19)
Deuteranopia (Green-blind)
#1B1A14 — rgb(27, 26, 20)
Tritanopia (Blue-blind)
#181617 — rgb(24, 22, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 36%, 9%);
text
color: hsl(87, 36%, 9%);
border
border: 2px solid hsl(87, 36%, 9%);
gradient light
background: linear-gradient(to right, hsl(87, 36%, 29%), hsl(87, 36%, 9%));
gradient dark
background: linear-gradient(to right, hsl(87, 36%, 9%), hsl(87, 36%, 0%))
hex
background-color: #181F0F;
tailwind
bg-[hsl(87,36%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 36%, 9%, 0.4);
css variable
--color-primary: hsl(87, 36%, 9%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(87, 36%, 9%)?
HEX: #181F0F | RGB: rgb(24, 31, 15) | CMYK: 23%, 0%, 52%, 88% | HSV: 86°, 52%, 12%. Copy any format from the conversion table above.
What colors go well with #181F0F?
The complementary color is HSL(267, 36%, 9%). 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, 36%, 9%) in CSS?
As HSL: color: hsl(87, 36%, 9%); — As HEX: color: #181F0F; — As RGB: color: rgb(24, 31, 15); — Tailwind CSS: bg-[hsl(87,36%,9%)] — CSS variable: --color-primary: hsl(87, 36%, 9%);