HSL(87, 95%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,95%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 95%, 18%) | color: hsl(87, 95%, 18%) | |
| HEX | #325A02 | color: #325A02 | |
| RGB | rgb(50, 90, 2) | color: rgb(50, 90, 2) | |
| CMYK | cmyk(44%, 0%, 98%, 65%) | — | |
| HSV | hsv(87, 98%, 35%) | — | |
| HWB | hwb(87 1% 65%) | color: hwb(87 1% 65%) | |
| OKLCH | oklch(0.4214 0.1176 132.97) | color: oklch(0.4214 0.1176 132.97) | |
| Lab | lab(33.97 -28.27 40.01) | color: lab(33.97 -28.27 40.01) | |
| LCH | lch(33.97 48.99 125.24) | color: lch(33.97 48.99 125.24) |
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)
#434417 — rgb(67, 68, 23)
Deuteranopia (Green-blind)
#413E1C — rgb(65, 62, 28)
Tritanopia (Blue-blind)
#34282C — rgb(52, 40, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 95%, 18%);
text
color: hsl(87, 95%, 18%);
border
border: 2px solid hsl(87, 95%, 18%);
gradient light
background: linear-gradient(to right, hsl(87, 95%, 38%), hsl(87, 95%, 18%));
gradient dark
background: linear-gradient(to right, hsl(87, 95%, 18%), hsl(87, 95%, 0%))
hex
background-color: #325A02;
tailwind
bg-[hsl(87,95%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 95%, 18%, 0.4);
css variable
--color-primary: hsl(87, 95%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 95%, 18%)?
HEX: #325A02 | RGB: rgb(50, 90, 2) | CMYK: 44%, 0%, 98%, 65% | HSV: 87°, 98%, 35%. Copy any format from the conversion table above.
What colors go well with #325A02?
The complementary color is HSL(267, 95%, 18%). 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, 95%, 18%) in CSS?
As HSL: color: hsl(87, 95%, 18%); — As HEX: color: #325A02; — As RGB: color: rgb(50, 90, 2); — Tailwind CSS: bg-[hsl(87,95%,18%)] — CSS variable: --color-primary: hsl(87, 95%, 18%);