HSL(96, 18%, 4%)
Very Dark Green — Green color
Adjust Color
Color Information
Color Name
Very Dark Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(96,18%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(96, 18%, 4%) | color: hsl(96, 18%, 4%) | |
| HEX | #0A0C08 | color: #0A0C08 | |
| RGB | rgb(10, 12, 8) | color: rgb(10, 12, 8) | |
| CMYK | cmyk(17%, 0%, 33%, 95%) | — | |
| HSV | hsv(90, 33%, 5%) | — | |
| HWB | hwb(90 3% 95%) | color: hwb(90 3% 95%) | |
| OKLCH | oklch(0.1503 0.0092 128.54) | color: oklch(0.1503 0.0092 128.54) | |
| Lab | lab(3.12 -1.12 1.36) | color: lab(3.12 -1.12 1.36) | |
| LCH | lch(3.12 1.76 129.47) | color: lch(3.12 1.76 129.47) |
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)
#0B0B09 — rgb(11, 11, 9)
Deuteranopia (Green-blind)
#0B0B09 — rgb(11, 11, 9)
Tritanopia (Blue-blind)
#0A0A0A — rgb(10, 10, 10)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(96, 18%, 4%);
text
color: hsl(96, 18%, 4%);
border
border: 2px solid hsl(96, 18%, 4%);
gradient light
background: linear-gradient(to right, hsl(96, 18%, 24%), hsl(96, 18%, 4%));
gradient dark
background: linear-gradient(to right, hsl(96, 18%, 4%), hsl(96, 18%, 0%))
hex
background-color: #0A0C08;
tailwind
bg-[hsl(96,18%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(96, 18%, 4%, 0.4);
css variable
--color-primary: hsl(96, 18%, 4%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(96, 18%, 4%)?
HEX: #0A0C08 | RGB: rgb(10, 12, 8) | CMYK: 17%, 0%, 33%, 95% | HSV: 90°, 33%, 5%. Copy any format from the conversion table above.
What colors go well with #0A0C08?
The complementary color is HSL(276, 18%, 4%). For a triadic harmony, use hues 96°, 216°, and 336°. For analogous combinations, try hues 66° and 126°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(96, 18%, 4%) in CSS?
As HSL: color: hsl(96, 18%, 4%); — As HEX: color: #0A0C08; — As RGB: color: rgb(10, 12, 8); — Tailwind CSS: bg-[hsl(96,18%,4%)] — CSS variable: --color-primary: hsl(96, 18%, 4%);