HSL(71, 65%, 35%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(71,65%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(71, 65%, 35%) | color: hsl(71, 65%, 35%) | |
| HEX | #7E931F | color: #7E931F | |
| RGB | rgb(126, 147, 31) | color: rgb(126, 147, 31) | |
| CMYK | cmyk(14%, 0%, 79%, 42%) | — | |
| HSV | hsv(71, 79%, 58%) | — | |
| HWB | hwb(71 12% 42%) | color: hwb(71 12% 42%) | |
| OKLCH | oklch(0.6255 0.137 119.81) | color: oklch(0.6255 0.137 119.81) | |
| Lab | lab(57.47 -22.85 54.18) | color: lab(57.47 -22.85 54.18) | |
| LCH | lch(57.47 58.8 112.87) | color: lch(57.47 58.8 112.87) |
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)
#87873B — rgb(135, 135, 59)
Deuteranopia (Green-blind)
#868442 — rgb(134, 132, 66)
Tritanopia (Blue-blind)
#7F5156 — rgb(127, 81, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(71, 65%, 35%);
text
color: hsl(71, 65%, 35%);
border
border: 2px solid hsl(71, 65%, 35%);
gradient light
background: linear-gradient(to right, hsl(71, 65%, 55%), hsl(71, 65%, 35%));
gradient dark
background: linear-gradient(to right, hsl(71, 65%, 35%), hsl(71, 65%, 15%))
hex
background-color: #7E931F;
tailwind
bg-[hsl(71,65%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(71, 65%, 35%, 0.4);
css variable
--color-primary: hsl(71, 65%, 35%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(71, 65%, 35%)?
HEX: #7E931F | RGB: rgb(126, 147, 31) | CMYK: 14%, 0%, 79%, 42% | HSV: 71°, 79%, 58%. Copy any format from the conversion table above.
What colors go well with #7E931F?
The complementary color is HSL(251, 65%, 35%). 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, 65%, 35%) in CSS?
As HSL: color: hsl(71, 65%, 35%); — As HEX: color: #7E931F; — As RGB: color: rgb(126, 147, 31); — Tailwind CSS: bg-[hsl(71,65%,35%)] — CSS variable: --color-primary: hsl(71, 65%, 35%);