HSL(87, 40%, 46%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,40%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 40%, 46%) | color: hsl(87, 40%, 46%) | |
| HEX | #7AA446 | color: #7AA446 | |
| RGB | rgb(122, 164, 70) | color: rgb(122, 164, 70) | |
| CMYK | cmyk(26%, 0%, 57%, 36%) | — | |
| HSV | hsv(87, 57%, 64%) | — | |
| HWB | hwb(87 28% 36%) | color: hwb(87 28% 36%) | |
| OKLCH | oklch(0.6675 0.1322 129.5) | color: oklch(0.6675 0.1322 129.5) | |
| Lab | lab(62.62 -29.99 43.48) | color: lab(62.62 -29.99 43.48) | |
| LCH | lch(62.62 52.82 124.6) | color: lch(62.62 52.82 124.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8C8D5D — rgb(140, 141, 93)
Deuteranopia (Green-blind)
#8A8762 — rgb(138, 135, 98)
Tritanopia (Blue-blind)
#7C6F73 — rgb(124, 111, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 40%, 46%);
text
color: hsl(87, 40%, 46%);
border
border: 2px solid hsl(87, 40%, 46%);
gradient light
background: linear-gradient(to right, hsl(87, 40%, 66%), hsl(87, 40%, 46%));
gradient dark
background: linear-gradient(to right, hsl(87, 40%, 46%), hsl(87, 40%, 26%))
hex
background-color: #7AA446;
tailwind
bg-[hsl(87,40%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 40%, 46%, 0.4);
css variable
--color-primary: hsl(87, 40%, 46%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 40%, 46%)?
HEX: #7AA446 | RGB: rgb(122, 164, 70) | CMYK: 26%, 0%, 57%, 36% | HSV: 87°, 57%, 64%. Copy any format from the conversion table above.
What colors go well with #7AA446?
The complementary color is HSL(267, 40%, 46%). 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, 40%, 46%) in CSS?
As HSL: color: hsl(87, 40%, 46%); — As HEX: color: #7AA446; — As RGB: color: rgb(122, 164, 70); — Tailwind CSS: bg-[hsl(87,40%,46%)] — CSS variable: --color-primary: hsl(87, 40%, 46%);