HSL(77, 20%, 46%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(77,20%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(77, 20%, 46%) | color: hsl(77, 20%, 46%) | |
| HEX | #7F8D5E | color: #7F8D5E | |
| RGB | rgb(127, 141, 94) | color: rgb(127, 141, 94) | |
| CMYK | cmyk(10%, 0%, 33%, 45%) | — | |
| HSV | hsv(78, 33%, 55%) | — | |
| HWB | hwb(78 37% 45%) | color: hwb(78 37% 45%) | |
| OKLCH | oklch(0.6199 0.0688 121.9) | color: oklch(0.6199 0.0688 121.9) | |
| Lab | lab(56.46 -13.45 23.45) | color: lab(56.46 -13.45 23.45) | |
| LCH | lch(56.46 27.03 119.84) | color: lch(56.46 27.03 119.84) |
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)
#858569 — rgb(133, 133, 105)
Deuteranopia (Green-blind)
#84836C — rgb(132, 131, 108)
Tritanopia (Blue-blind)
#807274 — rgb(128, 114, 116)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(77, 20%, 46%);
text
color: hsl(77, 20%, 46%);
border
border: 2px solid hsl(77, 20%, 46%);
gradient light
background: linear-gradient(to right, hsl(77, 20%, 66%), hsl(77, 20%, 46%));
gradient dark
background: linear-gradient(to right, hsl(77, 20%, 46%), hsl(77, 20%, 26%))
hex
background-color: #7F8D5E;
tailwind
bg-[hsl(77,20%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(77, 20%, 46%, 0.4);
css variable
--color-primary: hsl(77, 20%, 46%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(77, 20%, 46%)?
HEX: #7F8D5E | RGB: rgb(127, 141, 94) | CMYK: 10%, 0%, 33%, 45% | HSV: 78°, 33%, 55%. Copy any format from the conversion table above.
What colors go well with #7F8D5E?
The complementary color is HSL(257, 20%, 46%). For a triadic harmony, use hues 77°, 197°, and 317°. For analogous combinations, try hues 47° and 107°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(77, 20%, 46%) in CSS?
As HSL: color: hsl(77, 20%, 46%); — As HEX: color: #7F8D5E; — As RGB: color: rgb(127, 141, 94); — Tailwind CSS: bg-[hsl(77,20%,46%)] — CSS variable: --color-primary: hsl(77, 20%, 46%);