HSL(102, 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(102,80%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 80%, 7%) | color: hsl(102, 80%, 7%) | |
| HEX | #0C2004 | color: #0C2004 | |
| RGB | rgb(12, 32, 4) | color: rgb(12, 32, 4) | |
| CMYK | cmyk(63%, 0%, 88%, 87%) | — | |
| HSV | hsv(103, 88%, 13%) | — | |
| HWB | hwb(103 2% 87%) | color: hwb(103 2% 87%) | |
| OKLCH | oklch(0.2187 0.0567 137.31) | color: oklch(0.2187 0.0567 137.31) | |
| Lab | lab(9.95 -14.63 12.95) | color: lab(9.95 -14.63 12.95) | |
| LCH | lch(9.95 19.54 138.49) | color: lch(9.95 19.54 138.49) |
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)
#15150B — rgb(21, 21, 11)
Deuteranopia (Green-blind)
#14120C — rgb(20, 18, 12)
Tritanopia (Blue-blind)
#0D1011 — rgb(13, 16, 17)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 80%, 7%);
text
color: hsl(102, 80%, 7%);
border
border: 2px solid hsl(102, 80%, 7%);
gradient light
background: linear-gradient(to right, hsl(102, 80%, 27%), hsl(102, 80%, 7%));
gradient dark
background: linear-gradient(to right, hsl(102, 80%, 7%), hsl(102, 80%, 0%))
hex
background-color: #0C2004;
tailwind
bg-[hsl(102,80%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 80%, 7%, 0.4);
css variable
--color-primary: hsl(102, 80%, 7%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(102, 80%, 7%)?
HEX: #0C2004 | RGB: rgb(12, 32, 4) | CMYK: 63%, 0%, 88%, 87% | HSV: 103°, 88%, 13%. Copy any format from the conversion table above.
What colors go well with #0C2004?
The complementary color is HSL(282, 80%, 7%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 80%, 7%) in CSS?
As HSL: color: hsl(102, 80%, 7%); — As HEX: color: #0C2004; — As RGB: color: rgb(12, 32, 4); — Tailwind CSS: bg-[hsl(102,80%,7%)] — CSS variable: --color-primary: hsl(102, 80%, 7%);