HSL(140, 50%, 3%)
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(140,50%,3%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 50%, 3%) | color: hsl(140, 50%, 3%) | |
| HEX | #040B06 | color: #040B06 | |
| RGB | rgb(4, 11, 6) | color: rgb(4, 11, 6) | |
| CMYK | cmyk(64%, 0%, 45%, 96%) | — | |
| HSV | hsv(137, 64%, 4%) | — | |
| HWB | hwb(137 1% 96%) | color: hwb(137 1% 96%) | |
| OKLCH | oklch(0.1385 0.0182 154.8) | color: oklch(0.1385 0.0182 154.8) | |
| Lab | lab(2.51 -2.54 1.25) | color: lab(2.51 -2.54 1.25) | |
| LCH | lch(2.51 2.83 153.8) | color: lch(2.51 2.83 153.8) |
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)
#070707 — rgb(7, 7, 7)
Deuteranopia (Green-blind)
#070608 — rgb(7, 6, 8)
Tritanopia (Blue-blind)
#040808 — rgb(4, 8, 8)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 50%, 3%);
text
color: hsl(140, 50%, 3%);
border
border: 2px solid hsl(140, 50%, 3%);
gradient light
background: linear-gradient(to right, hsl(140, 50%, 23%), hsl(140, 50%, 3%));
gradient dark
background: linear-gradient(to right, hsl(140, 50%, 3%), hsl(140, 50%, 0%))
hex
background-color: #040B06;
tailwind
bg-[hsl(140,50%,3%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 50%, 3%, 0.4);
css variable
--color-primary: hsl(140, 50%, 3%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(140, 50%, 3%)?
HEX: #040B06 | RGB: rgb(4, 11, 6) | CMYK: 64%, 0%, 45%, 96% | HSV: 137°, 64%, 4%. Copy any format from the conversion table above.
What colors go well with #040B06?
The complementary color is HSL(320, 50%, 3%). For a triadic harmony, use hues 140°, 260°, and 20°. For analogous combinations, try hues 110° and 170°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(140, 50%, 3%) in CSS?
As HSL: color: hsl(140, 50%, 3%); — As HEX: color: #040B06; — As RGB: color: rgb(4, 11, 6); — Tailwind CSS: bg-[hsl(140,50%,3%)] — CSS variable: --color-primary: hsl(140, 50%, 3%);