HSL(128, 65%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(128,65%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(128, 65%, 18%) | color: hsl(128, 65%, 18%) | |
| HEX | #104C18 | color: #104C18 | |
| RGB | rgb(16, 76, 24) | color: rgb(16, 76, 24) | |
| CMYK | cmyk(79%, 0%, 68%, 70%) | — | |
| HSV | hsv(128, 79%, 30%) | — | |
| HWB | hwb(128 6% 70%) | color: hwb(128 6% 70%) | |
| OKLCH | oklch(0.3664 0.1021 145.07) | color: oklch(0.3664 0.1021 145.07) | |
| Lab | lab(27.69 -30.98 24.97) | color: lab(27.69 -30.98 24.97) | |
| LCH | lch(27.69 39.79 141.13) | color: lch(27.69 39.79 141.13) |
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)
#2A2B25 — rgb(42, 43, 37)
Deuteranopia (Green-blind)
#272228 — rgb(39, 34, 40)
Tritanopia (Blue-blind)
#132F31 — rgb(19, 47, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(128, 65%, 18%);
text
color: hsl(128, 65%, 18%);
border
border: 2px solid hsl(128, 65%, 18%);
gradient light
background: linear-gradient(to right, hsl(128, 65%, 38%), hsl(128, 65%, 18%));
gradient dark
background: linear-gradient(to right, hsl(128, 65%, 18%), hsl(128, 65%, 0%))
hex
background-color: #104C18;
tailwind
bg-[hsl(128,65%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(128, 65%, 18%, 0.4);
css variable
--color-primary: hsl(128, 65%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(128, 65%, 18%)?
HEX: #104C18 | RGB: rgb(16, 76, 24) | CMYK: 79%, 0%, 68%, 70% | HSV: 128°, 79%, 30%. Copy any format from the conversion table above.
What colors go well with #104C18?
The complementary color is HSL(308, 65%, 18%). For a triadic harmony, use hues 128°, 248°, and 8°. For analogous combinations, try hues 98° and 158°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(128, 65%, 18%) in CSS?
As HSL: color: hsl(128, 65%, 18%); — As HEX: color: #104C18; — As RGB: color: rgb(16, 76, 24); — Tailwind CSS: bg-[hsl(128,65%,18%)] — CSS variable: --color-primary: hsl(128, 65%, 18%);