HSL(80, 16%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(80,16%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(80, 16%, 45%) | color: hsl(80, 16%, 45%) | |
| HEX | #798560 | color: #798560 | |
| RGB | rgb(121, 133, 96) | color: rgb(121, 133, 96) | |
| CMYK | cmyk(9%, 0%, 28%, 48%) | — | |
| HSV | hsv(79, 28%, 52%) | — | |
| HWB | hwb(79 37% 48%) | color: hwb(79 37% 48%) | |
| OKLCH | oklch(0.5968 0.0556 122.67) | color: oklch(0.5968 0.0556 122.67) | |
| Lab | lab(53.69 -11.23 18.54) | color: lab(53.69 -11.23 18.54) | |
| LCH | lch(53.69 21.68 121.2) | color: lch(53.69 21.68 121.2) |
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)
#7E7E69 — rgb(126, 126, 105)
Deuteranopia (Green-blind)
#7E7D6B — rgb(126, 125, 107)
Tritanopia (Blue-blind)
#7A7072 — rgb(122, 112, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(80, 16%, 45%);
text
color: hsl(80, 16%, 45%);
border
border: 2px solid hsl(80, 16%, 45%);
gradient light
background: linear-gradient(to right, hsl(80, 16%, 65%), hsl(80, 16%, 45%));
gradient dark
background: linear-gradient(to right, hsl(80, 16%, 45%), hsl(80, 16%, 25%))
hex
background-color: #798560;
tailwind
bg-[hsl(80,16%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(80, 16%, 45%, 0.4);
css variable
--color-primary: hsl(80, 16%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(80, 16%, 45%)?
HEX: #798560 | RGB: rgb(121, 133, 96) | CMYK: 9%, 0%, 28%, 48% | HSV: 79°, 28%, 52%. Copy any format from the conversion table above.
What colors go well with #798560?
The complementary color is HSL(260, 16%, 45%). For a triadic harmony, use hues 80°, 200°, and 320°. For analogous combinations, try hues 50° and 110°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(80, 16%, 45%) in CSS?
As HSL: color: hsl(80, 16%, 45%); — As HEX: color: #798560; — As RGB: color: rgb(121, 133, 96); — Tailwind CSS: bg-[hsl(80,16%,45%)] — CSS variable: --color-primary: hsl(80, 16%, 45%);