HSL(87, 75%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,75%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 75%, 40%) | color: hsl(87, 75%, 40%) | |
| HEX | #6EB31A | color: #6EB31A | |
| RGB | rgb(110, 179, 26) | color: rgb(110, 179, 26) | |
| CMYK | cmyk(39%, 0%, 85%, 30%) | — | |
| HSV | hsv(87, 85%, 70%) | — | |
| HWB | hwb(87 11% 30%) | color: hwb(87 11% 30%) | |
| OKLCH | oklch(0.6942 0.1857 132.32) | color: oklch(0.6942 0.1857 132.32) | |
| Lab | lab(66.24 -44.08 63) | color: lab(66.24 -44.08 63) | |
| LCH | lch(66.24 76.89 124.98) | color: lch(66.24 76.89 124.98) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8C8C3F — rgb(140, 140, 63)
Deuteranopia (Green-blind)
#888348 — rgb(136, 131, 72)
Tritanopia (Blue-blind)
#715C63 — rgb(113, 92, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 75%, 40%);
text
color: hsl(87, 75%, 40%);
border
border: 2px solid hsl(87, 75%, 40%);
gradient light
background: linear-gradient(to right, hsl(87, 75%, 60%), hsl(87, 75%, 40%));
gradient dark
background: linear-gradient(to right, hsl(87, 75%, 40%), hsl(87, 75%, 20%))
hex
background-color: #6EB31A;
tailwind
bg-[hsl(87,75%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 75%, 40%, 0.4);
css variable
--color-primary: hsl(87, 75%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 75%, 40%)?
HEX: #6EB31A | RGB: rgb(110, 179, 26) | CMYK: 39%, 0%, 85%, 30% | HSV: 87°, 85%, 70%. Copy any format from the conversion table above.
What colors go well with #6EB31A?
The complementary color is HSL(267, 75%, 40%). 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, 75%, 40%) in CSS?
As HSL: color: hsl(87, 75%, 40%); — As HEX: color: #6EB31A; — As RGB: color: rgb(110, 179, 26); — Tailwind CSS: bg-[hsl(87,75%,40%)] — CSS variable: --color-primary: hsl(87, 75%, 40%);