HSL(105, 52%, 12%)
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(105,52%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(105, 52%, 12%) | color: hsl(105, 52%, 12%) | |
| HEX | #172F0F | color: #172F0F | |
| RGB | rgb(23, 47, 15) | color: rgb(23, 47, 15) | |
| CMYK | cmyk(51%, 0%, 68%, 82%) | — | |
| HSV | hsv(105, 68%, 18%) | — | |
| HWB | hwb(105 6% 82%) | color: hwb(105 6% 82%) | |
| OKLCH | oklch(0.2765 0.0622 138.54) | color: oklch(0.2765 0.0622 138.54) | |
| Lab | lab(16.75 -16.97 17.3) | color: lab(16.75 -16.97 17.3) | |
| LCH | lch(16.75 24.23 134.45) | color: lch(16.75 24.23 134.45) |
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)
#212217 — rgb(33, 34, 23)
Deuteranopia (Green-blind)
#201E19 — rgb(32, 30, 25)
Tritanopia (Blue-blind)
#181D1E — rgb(24, 29, 30)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(105, 52%, 12%);
text
color: hsl(105, 52%, 12%);
border
border: 2px solid hsl(105, 52%, 12%);
gradient light
background: linear-gradient(to right, hsl(105, 52%, 32%), hsl(105, 52%, 12%));
gradient dark
background: linear-gradient(to right, hsl(105, 52%, 12%), hsl(105, 52%, 0%))
hex
background-color: #172F0F;
tailwind
bg-[hsl(105,52%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(105, 52%, 12%, 0.4);
css variable
--color-primary: hsl(105, 52%, 12%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(105, 52%, 12%)?
HEX: #172F0F | RGB: rgb(23, 47, 15) | CMYK: 51%, 0%, 68%, 82% | HSV: 105°, 68%, 18%. Copy any format from the conversion table above.
What colors go well with #172F0F?
The complementary color is HSL(285, 52%, 12%). For a triadic harmony, use hues 105°, 225°, and 345°. For analogous combinations, try hues 75° and 135°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(105, 52%, 12%) in CSS?
As HSL: color: hsl(105, 52%, 12%); — As HEX: color: #172F0F; — As RGB: color: rgb(23, 47, 15); — Tailwind CSS: bg-[hsl(105,52%,12%)] — CSS variable: --color-primary: hsl(105, 52%, 12%);