HSL(140, 65%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(140,65%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 65%, 18%) | color: hsl(140, 65%, 18%) | |
| HEX | #104C24 | color: #104C24 | |
| RGB | rgb(16, 76, 36) | color: rgb(16, 76, 36) | |
| CMYK | cmyk(79%, 0%, 53%, 70%) | — | |
| HSV | hsv(140, 79%, 30%) | — | |
| HWB | hwb(140 6% 70%) | color: hwb(140 6% 70%) | |
| OKLCH | oklch(0.3683 0.0901 150.08) | color: oklch(0.3683 0.0901 150.08) | |
| Lab | lab(27.86 -29.03 18.42) | color: lab(27.86 -29.03 18.42) | |
| LCH | lch(27.86 34.38 147.6) | color: lch(27.86 34.38 147.6) |
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)
#2A2B2E — rgb(42, 43, 46)
Deuteranopia (Green-blind)
#272230 — rgb(39, 34, 48)
Tritanopia (Blue-blind)
#133537 — rgb(19, 53, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 65%, 18%);
text
color: hsl(140, 65%, 18%);
border
border: 2px solid hsl(140, 65%, 18%);
gradient light
background: linear-gradient(to right, hsl(140, 65%, 38%), hsl(140, 65%, 18%));
gradient dark
background: linear-gradient(to right, hsl(140, 65%, 18%), hsl(140, 65%, 0%))
hex
background-color: #104C24;
tailwind
bg-[hsl(140,65%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 65%, 18%, 0.4);
css variable
--color-primary: hsl(140, 65%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(140, 65%, 18%)?
HEX: #104C24 | RGB: rgb(16, 76, 36) | CMYK: 79%, 0%, 53%, 70% | HSV: 140°, 79%, 30%. Copy any format from the conversion table above.
What colors go well with #104C24?
The complementary color is HSL(320, 65%, 18%). For a triadic harmony, use hues 140°, 260°, and 20°. For analogous combinations, try hues 110° and 170°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(140, 65%, 18%) in CSS?
As HSL: color: hsl(140, 65%, 18%); — As HEX: color: #104C24; — As RGB: color: rgb(16, 76, 36); — Tailwind CSS: bg-[hsl(140,65%,18%)] — CSS variable: --color-primary: hsl(140, 65%, 18%);