HSL(76, 20%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(76,20%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(76, 20%, 45%) | color: hsl(76, 20%, 45%) | |
| HEX | #7D8A5C | color: #7D8A5C | |
| RGB | rgb(125, 138, 92) | color: rgb(125, 138, 92) | |
| CMYK | cmyk(9%, 0%, 33%, 46%) | — | |
| HSV | hsv(77, 33%, 54%) | — | |
| HWB | hwb(77 36% 46%) | color: hwb(77 36% 46%) | |
| OKLCH | oklch(0.6109 0.0674 121.25) | color: oklch(0.6109 0.0674 121.25) | |
| Lab | lab(55.39 -12.93 23.12) | color: lab(55.39 -12.93 23.12) | |
| LCH | lch(55.39 26.49 119.22) | color: lch(55.39 26.49 119.22) |
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)
#838367 — rgb(131, 131, 103)
Deuteranopia (Green-blind)
#82816A — rgb(130, 129, 106)
Tritanopia (Blue-blind)
#7E7072 — rgb(126, 112, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(76, 20%, 45%);
text
color: hsl(76, 20%, 45%);
border
border: 2px solid hsl(76, 20%, 45%);
gradient light
background: linear-gradient(to right, hsl(76, 20%, 65%), hsl(76, 20%, 45%));
gradient dark
background: linear-gradient(to right, hsl(76, 20%, 45%), hsl(76, 20%, 25%))
hex
background-color: #7D8A5C;
tailwind
bg-[hsl(76,20%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(76, 20%, 45%, 0.4);
css variable
--color-primary: hsl(76, 20%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(76, 20%, 45%)?
HEX: #7D8A5C | RGB: rgb(125, 138, 92) | CMYK: 9%, 0%, 33%, 46% | HSV: 77°, 33%, 54%. Copy any format from the conversion table above.
What colors go well with #7D8A5C?
The complementary color is HSL(256, 20%, 45%). For a triadic harmony, use hues 76°, 196°, and 316°. For analogous combinations, try hues 46° and 106°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(76, 20%, 45%) in CSS?
As HSL: color: hsl(76, 20%, 45%); — As HEX: color: #7D8A5C; — As RGB: color: rgb(125, 138, 92); — Tailwind CSS: bg-[hsl(76,20%,45%)] — CSS variable: --color-primary: hsl(76, 20%, 45%);