HSL(140, 68%, 6%)
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,68%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 68%, 6%) | color: hsl(140, 68%, 6%) | |
| HEX | #051A0C | color: #051A0C | |
| RGB | rgb(5, 26, 12) | color: rgb(5, 26, 12) | |
| CMYK | cmyk(81%, 0%, 54%, 90%) | — | |
| HSV | hsv(140, 81%, 10%) | — | |
| HWB | hwb(140 2% 90%) | color: hwb(140 2% 90%) | |
| OKLCH | oklch(0.1953 0.0397 152.79) | color: oklch(0.1953 0.0397 152.79) | |
| Lab | lab(7.2 -10.64 5.62) | color: lab(7.2 -10.64 5.62) | |
| LCH | lch(7.2 12.03 152.16) | color: lch(7.2 12.03 152.16) |
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)
#0E0E0F — rgb(14, 14, 15)
Deuteranopia (Green-blind)
#0D0B10 — rgb(13, 11, 16)
Tritanopia (Blue-blind)
#061213 — rgb(6, 18, 19)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 68%, 6%);
text
color: hsl(140, 68%, 6%);
border
border: 2px solid hsl(140, 68%, 6%);
gradient light
background: linear-gradient(to right, hsl(140, 68%, 26%), hsl(140, 68%, 6%));
gradient dark
background: linear-gradient(to right, hsl(140, 68%, 6%), hsl(140, 68%, 0%))
hex
background-color: #051A0C;
tailwind
bg-[hsl(140,68%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 68%, 6%, 0.4);
css variable
--color-primary: hsl(140, 68%, 6%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(140, 68%, 6%)?
HEX: #051A0C | RGB: rgb(5, 26, 12) | CMYK: 81%, 0%, 54%, 90% | HSV: 140°, 81%, 10%. Copy any format from the conversion table above.
What colors go well with #051A0C?
The complementary color is HSL(320, 68%, 6%). 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, 68%, 6%) in CSS?
As HSL: color: hsl(140, 68%, 6%); — As HEX: color: #051A0C; — As RGB: color: rgb(5, 26, 12); — Tailwind CSS: bg-[hsl(140,68%,6%)] — CSS variable: --color-primary: hsl(140, 68%, 6%);