HSL(140, 80%, 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(140,80%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 80%, 7%) | color: hsl(140, 80%, 7%) | |
| HEX | #04200D | color: #04200D | |
| RGB | rgb(4, 32, 13) | color: rgb(4, 32, 13) | |
| CMYK | cmyk(88%, 0%, 59%, 87%) | — | |
| HSV | hsv(139, 88%, 13%) | — | |
| HWB | hwb(139 2% 87%) | color: hwb(139 2% 87%) | |
| OKLCH | oklch(0.216 0.0504 151.25) | color: oklch(0.216 0.0504 151.25) | |
| Lab | lab(9.7 -15.64 8.76) | color: lab(9.7 -15.64 8.76) | |
| LCH | lch(9.7 17.93 150.75) | color: lch(9.7 17.93 150.75) |
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)
#101012 — rgb(16, 16, 18)
Deuteranopia (Green-blind)
#0F0C13 — rgb(15, 12, 19)
Tritanopia (Blue-blind)
#051516 — rgb(5, 21, 22)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 80%, 7%);
text
color: hsl(140, 80%, 7%);
border
border: 2px solid hsl(140, 80%, 7%);
gradient light
background: linear-gradient(to right, hsl(140, 80%, 27%), hsl(140, 80%, 7%));
gradient dark
background: linear-gradient(to right, hsl(140, 80%, 7%), hsl(140, 80%, 0%))
hex
background-color: #04200D;
tailwind
bg-[hsl(140,80%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 80%, 7%, 0.4);
css variable
--color-primary: hsl(140, 80%, 7%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(140, 80%, 7%)?
HEX: #04200D | RGB: rgb(4, 32, 13) | CMYK: 88%, 0%, 59%, 87% | HSV: 139°, 88%, 13%. Copy any format from the conversion table above.
What colors go well with #04200D?
The complementary color is HSL(320, 80%, 7%). 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, 80%, 7%) in CSS?
As HSL: color: hsl(140, 80%, 7%); — As HEX: color: #04200D; — As RGB: color: rgb(4, 32, 13); — Tailwind CSS: bg-[hsl(140,80%,7%)] — CSS variable: --color-primary: hsl(140, 80%, 7%);