HSL(76, 20%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(76,20%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(76, 20%, 40%) | color: hsl(76, 20%, 40%) | |
| HEX | #707A52 | color: #707A52 | |
| RGB | rgb(112, 122, 82) | color: rgb(112, 122, 82) | |
| CMYK | cmyk(8%, 0%, 33%, 52%) | — | |
| HSV | hsv(75, 33%, 48%) | — | |
| HWB | hwb(75 32% 52%) | color: hwb(75 32% 52%) | |
| OKLCH | oklch(0.5605 0.0595 119.77) | color: oklch(0.5605 0.0595 119.77) | |
| Lab | lab(49.46 -10.98 20.71) | color: lab(49.46 -10.98 20.71) | |
| LCH | lch(49.46 23.44 117.93) | color: lch(49.46 23.44 117.93) |
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)
#74745C — rgb(116, 116, 92)
Deuteranopia (Green-blind)
#74735E — rgb(116, 115, 94)
Tritanopia (Blue-blind)
#716365 — rgb(113, 99, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(76, 20%, 40%);
text
color: hsl(76, 20%, 40%);
border
border: 2px solid hsl(76, 20%, 40%);
gradient light
background: linear-gradient(to right, hsl(76, 20%, 60%), hsl(76, 20%, 40%));
gradient dark
background: linear-gradient(to right, hsl(76, 20%, 40%), hsl(76, 20%, 20%))
hex
background-color: #707A52;
tailwind
bg-[hsl(76,20%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(76, 20%, 40%, 0.4);
css variable
--color-primary: hsl(76, 20%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(76, 20%, 40%)?
HEX: #707A52 | RGB: rgb(112, 122, 82) | CMYK: 8%, 0%, 33%, 52% | HSV: 75°, 33%, 48%. Copy any format from the conversion table above.
What colors go well with #707A52?
The complementary color is HSL(256, 20%, 40%). 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%, 40%) in CSS?
As HSL: color: hsl(76, 20%, 40%); — As HEX: color: #707A52; — As RGB: color: rgb(112, 122, 82); — Tailwind CSS: bg-[hsl(76,20%,40%)] — CSS variable: --color-primary: hsl(76, 20%, 40%);