HSL(118, 46%, 7%)
Very Dark Green — Green color
Adjust Color
Color Information
Color Name
Very Dark Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(118,46%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(118, 46%, 7%) | color: hsl(118, 46%, 7%) | |
| HEX | #0A1A0A | color: #0A1A0A | |
| RGB | rgb(10, 26, 10) | color: rgb(10, 26, 10) | |
| CMYK | cmyk(62%, 0%, 62%, 90%) | — | |
| HSV | hsv(120, 62%, 10%) | — | |
| HWB | hwb(120 4% 90%) | color: hwb(120 4% 90%) | |
| OKLCH | oklch(0.1982 0.0381 143.97) | color: oklch(0.1982 0.0381 143.97) | |
| Lab | lab(7.45 -9.63 6.88) | color: lab(7.45 -9.63 6.88) | |
| LCH | lch(7.45 11.84 144.46) | color: lch(7.45 11.84 144.46) |
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)
#11110E — rgb(17, 17, 14)
Deuteranopia (Green-blind)
#100F0F — rgb(16, 15, 15)
Tritanopia (Blue-blind)
#0B1112 — rgb(11, 17, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(118, 46%, 7%);
text
color: hsl(118, 46%, 7%);
border
border: 2px solid hsl(118, 46%, 7%);
gradient light
background: linear-gradient(to right, hsl(118, 46%, 27%), hsl(118, 46%, 7%));
gradient dark
background: linear-gradient(to right, hsl(118, 46%, 7%), hsl(118, 46%, 0%))
hex
background-color: #0A1A0A;
tailwind
bg-[hsl(118,46%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(118, 46%, 7%, 0.4);
css variable
--color-primary: hsl(118, 46%, 7%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(118, 46%, 7%)?
HEX: #0A1A0A | RGB: rgb(10, 26, 10) | CMYK: 62%, 0%, 62%, 90% | HSV: 120°, 62%, 10%. Copy any format from the conversion table above.
What colors go well with #0A1A0A?
The complementary color is HSL(298, 46%, 7%). For a triadic harmony, use hues 118°, 238°, and 358°. For analogous combinations, try hues 88° and 148°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(118, 46%, 7%) in CSS?
As HSL: color: hsl(118, 46%, 7%); — As HEX: color: #0A1A0A; — As RGB: color: rgb(10, 26, 10); — Tailwind CSS: bg-[hsl(118,46%,7%)] — CSS variable: --color-primary: hsl(118, 46%, 7%);