HSL(87, 90%, 8%)
Very Dark Green — Green color
Adjust Color
Color Information
Color Name
Very Dark Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,90%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 90%, 8%) | color: hsl(87, 90%, 8%) | |
| HEX | #162702 | color: #162702 | |
| RGB | rgb(22, 39, 2) | color: rgb(22, 39, 2) | |
| CMYK | cmyk(44%, 0%, 95%, 85%) | — | |
| HSV | hsv(88, 95%, 15%) | — | |
| HWB | hwb(88 1% 85%) | color: hwb(88 1% 85%) | |
| OKLCH | oklch(0.2484 0.0641 130.82) | color: oklch(0.2484 0.0641 130.82) | |
| Lab | lab(13.39 -14.7 18.58) | color: lab(13.39 -14.7 18.58) | |
| LCH | lch(13.39 23.69 128.35) | color: lch(13.39 23.69 128.35) |
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)
#1D1E0B — rgb(29, 30, 11)
Deuteranopia (Green-blind)
#1C1B0D — rgb(28, 27, 13)
Tritanopia (Blue-blind)
#171214 — rgb(23, 18, 20)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 90%, 8%);
text
color: hsl(87, 90%, 8%);
border
border: 2px solid hsl(87, 90%, 8%);
gradient light
background: linear-gradient(to right, hsl(87, 90%, 28%), hsl(87, 90%, 8%));
gradient dark
background: linear-gradient(to right, hsl(87, 90%, 8%), hsl(87, 90%, 0%))
hex
background-color: #162702;
tailwind
bg-[hsl(87,90%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 90%, 8%, 0.4);
css variable
--color-primary: hsl(87, 90%, 8%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(87, 90%, 8%)?
HEX: #162702 | RGB: rgb(22, 39, 2) | CMYK: 44%, 0%, 95%, 85% | HSV: 88°, 95%, 15%. Copy any format from the conversion table above.
What colors go well with #162702?
The complementary color is HSL(267, 90%, 8%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 90%, 8%) in CSS?
As HSL: color: hsl(87, 90%, 8%); — As HEX: color: #162702; — As RGB: color: rgb(22, 39, 2); — Tailwind CSS: bg-[hsl(87,90%,8%)] — CSS variable: --color-primary: hsl(87, 90%, 8%);