HSL(84, 40%, 46%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(84,40%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(84, 40%, 46%) | color: hsl(84, 40%, 46%) | |
| HEX | #7FA446 | color: #7FA446 | |
| RGB | rgb(127, 164, 70) | color: rgb(127, 164, 70) | |
| CMYK | cmyk(23%, 0%, 57%, 36%) | — | |
| HSV | hsv(84, 57%, 64%) | — | |
| HWB | hwb(84 28% 36%) | color: hwb(84 28% 36%) | |
| OKLCH | oklch(0.6708 0.1297 127.51) | color: oklch(0.6708 0.1297 127.51) | |
| Lab | lab(62.93 -28.04 43.92) | color: lab(62.93 -28.04 43.92) | |
| LCH | lch(62.93 52.11 122.56) | color: lch(62.93 52.11 122.56) |
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)
#8F8F5D — rgb(143, 143, 93)
Deuteranopia (Green-blind)
#8D8A62 — rgb(141, 138, 98)
Tritanopia (Blue-blind)
#816F73 — rgb(129, 111, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(84, 40%, 46%);
text
color: hsl(84, 40%, 46%);
border
border: 2px solid hsl(84, 40%, 46%);
gradient light
background: linear-gradient(to right, hsl(84, 40%, 66%), hsl(84, 40%, 46%));
gradient dark
background: linear-gradient(to right, hsl(84, 40%, 46%), hsl(84, 40%, 26%))
hex
background-color: #7FA446;
tailwind
bg-[hsl(84,40%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(84, 40%, 46%, 0.4);
css variable
--color-primary: hsl(84, 40%, 46%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(84, 40%, 46%)?
HEX: #7FA446 | RGB: rgb(127, 164, 70) | CMYK: 23%, 0%, 57%, 36% | HSV: 84°, 57%, 64%. Copy any format from the conversion table above.
What colors go well with #7FA446?
The complementary color is HSL(264, 40%, 46%). For a triadic harmony, use hues 84°, 204°, and 324°. For analogous combinations, try hues 54° and 114°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(84, 40%, 46%) in CSS?
As HSL: color: hsl(84, 40%, 46%); — As HEX: color: #7FA446; — As RGB: color: rgb(127, 164, 70); — Tailwind CSS: bg-[hsl(84,40%,46%)] — CSS variable: --color-primary: hsl(84, 40%, 46%);