HSL(82, 40%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(82,40%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(82, 40%, 45%) | color: hsl(82, 40%, 45%) | |
| HEX | #7FA145 | color: #7FA145 | |
| RGB | rgb(127, 161, 69) | color: rgb(127, 161, 69) | |
| CMYK | cmyk(21%, 0%, 57%, 37%) | — | |
| HSV | hsv(82, 57%, 63%) | — | |
| HWB | hwb(82 27% 37%) | color: hwb(82 27% 37%) | |
| OKLCH | oklch(0.6635 0.1264 126.55) | color: oklch(0.6635 0.1264 126.55) | |
| Lab | lab(62.02 -26.68 43.36) | color: lab(62.02 -26.68 43.36) | |
| LCH | lch(62.02 50.91 121.6) | color: lch(62.02 50.91 121.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)
#8E8E5B — rgb(142, 142, 91)
Deuteranopia (Green-blind)
#8C8961 — rgb(140, 137, 97)
Tritanopia (Blue-blind)
#816D71 — rgb(129, 109, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(82, 40%, 45%);
text
color: hsl(82, 40%, 45%);
border
border: 2px solid hsl(82, 40%, 45%);
gradient light
background: linear-gradient(to right, hsl(82, 40%, 65%), hsl(82, 40%, 45%));
gradient dark
background: linear-gradient(to right, hsl(82, 40%, 45%), hsl(82, 40%, 25%))
hex
background-color: #7FA145;
tailwind
bg-[hsl(82,40%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(82, 40%, 45%, 0.4);
css variable
--color-primary: hsl(82, 40%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(82, 40%, 45%)?
HEX: #7FA145 | RGB: rgb(127, 161, 69) | CMYK: 21%, 0%, 57%, 37% | HSV: 82°, 57%, 63%. Copy any format from the conversion table above.
What colors go well with #7FA145?
The complementary color is HSL(262, 40%, 45%). For a triadic harmony, use hues 82°, 202°, and 322°. For analogous combinations, try hues 52° and 112°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(82, 40%, 45%) in CSS?
As HSL: color: hsl(82, 40%, 45%); — As HEX: color: #7FA145; — As RGB: color: rgb(127, 161, 69); — Tailwind CSS: bg-[hsl(82,40%,45%)] — CSS variable: --color-primary: hsl(82, 40%, 45%);