HSL(117, 59%, 2%)
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(117,59%,2%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(117, 59%, 2%) | color: hsl(117, 59%, 2%) | |
| HEX | #020802 | color: #020802 | |
| RGB | rgb(2, 8, 2) | color: rgb(2, 8, 2) | |
| CMYK | cmyk(75%, 0%, 75%, 97%) | — | |
| HSV | hsv(120, 75%, 3%) | — | |
| HWB | hwb(120 1% 97%) | color: hwb(120 1% 97%) | |
| OKLCH | oklch(0.1215 0.0255 143.81) | color: oklch(0.1215 0.0255 143.81) | |
| Lab | lab(1.72 -2.4 1.72) | color: lab(1.72 -2.4 1.72) | |
| LCH | lch(1.72 2.95 144.37) | color: lch(1.72 2.95 144.37) |
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)
#050503 — rgb(5, 5, 3)
Deuteranopia (Green-blind)
#040404 — rgb(4, 4, 4)
Tritanopia (Blue-blind)
#020505 — rgb(2, 5, 5)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(117, 59%, 2%);
text
color: hsl(117, 59%, 2%);
border
border: 2px solid hsl(117, 59%, 2%);
gradient light
background: linear-gradient(to right, hsl(117, 59%, 22%), hsl(117, 59%, 2%));
gradient dark
background: linear-gradient(to right, hsl(117, 59%, 2%), hsl(117, 59%, 0%))
hex
background-color: #020802;
tailwind
bg-[hsl(117,59%,2%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(117, 59%, 2%, 0.4);
css variable
--color-primary: hsl(117, 59%, 2%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(117, 59%, 2%)?
HEX: #020802 | RGB: rgb(2, 8, 2) | CMYK: 75%, 0%, 75%, 97% | HSV: 120°, 75%, 3%. Copy any format from the conversion table above.
What colors go well with #020802?
The complementary color is HSL(297, 59%, 2%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(117, 59%, 2%) in CSS?
As HSL: color: hsl(117, 59%, 2%); — As HEX: color: #020802; — As RGB: color: rgb(2, 8, 2); — Tailwind CSS: bg-[hsl(117,59%,2%)] — CSS variable: --color-primary: hsl(117, 59%, 2%);