HSL(71, 34%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(71,34%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(71, 34%, 40%) | color: hsl(71, 34%, 40%) | |
| HEX | #7C8943 | color: #7C8943 | |
| RGB | rgb(124, 137, 67) | color: rgb(124, 137, 67) | |
| CMYK | cmyk(9%, 0%, 51%, 46%) | — | |
| HSV | hsv(71, 51%, 54%) | — | |
| HWB | hwb(71 26% 46%) | color: hwb(71 26% 46%) | |
| OKLCH | oklch(0.6034 0.0959 118.06) | color: oklch(0.6034 0.0959 118.06) | |
| Lab | lab(54.64 -15.91 35.63) | color: lab(54.64 -15.91 35.63) | |
| LCH | lch(54.64 39.02 114.06) | color: lch(54.64 39.02 114.06) |
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)
#828254 — rgb(130, 130, 84)
Deuteranopia (Green-blind)
#818058 — rgb(129, 128, 88)
Tritanopia (Blue-blind)
#7D6164 — rgb(125, 97, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(71, 34%, 40%);
text
color: hsl(71, 34%, 40%);
border
border: 2px solid hsl(71, 34%, 40%);
gradient light
background: linear-gradient(to right, hsl(71, 34%, 60%), hsl(71, 34%, 40%));
gradient dark
background: linear-gradient(to right, hsl(71, 34%, 40%), hsl(71, 34%, 20%))
hex
background-color: #7C8943;
tailwind
bg-[hsl(71,34%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(71, 34%, 40%, 0.4);
css variable
--color-primary: hsl(71, 34%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(71, 34%, 40%)?
HEX: #7C8943 | RGB: rgb(124, 137, 67) | CMYK: 9%, 0%, 51%, 46% | HSV: 71°, 51%, 54%. Copy any format from the conversion table above.
What colors go well with #7C8943?
The complementary color is HSL(251, 34%, 40%). For a triadic harmony, use hues 71°, 191°, and 311°. For analogous combinations, try hues 41° and 101°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(71, 34%, 40%) in CSS?
As HSL: color: hsl(71, 34%, 40%); — As HEX: color: #7C8943; — As RGB: color: rgb(124, 137, 67); — Tailwind CSS: bg-[hsl(71,34%,40%)] — CSS variable: --color-primary: hsl(71, 34%, 40%);