HSL(76, 70%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(76,70%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(76, 70%, 17%) | color: hsl(76, 70%, 17%) | |
| HEX | #3A4A0D | color: #3A4A0D | |
| RGB | rgb(58, 74, 13) | color: rgb(58, 74, 13) | |
| CMYK | cmyk(22%, 0%, 82%, 71%) | — | |
| HSV | hsv(76, 82%, 29%) | — | |
| HWB | hwb(76 5% 71%) | color: hwb(76 5% 71%) | |
| OKLCH | oklch(0.3822 0.0853 123.53) | color: oklch(0.3822 0.0853 123.53) | |
| Lab | lab(28.97 -16.14 32.05) | color: lab(28.97 -16.14 32.05) | |
| LCH | lch(28.97 35.88 116.73) | color: lch(28.97 35.88 116.73) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#41411C — rgb(65, 65, 28)
Deuteranopia (Green-blind)
#403F1F — rgb(64, 63, 31)
Tritanopia (Blue-blind)
#3B272A — rgb(59, 39, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(76, 70%, 17%);
text
color: hsl(76, 70%, 17%);
border
border: 2px solid hsl(76, 70%, 17%);
gradient light
background: linear-gradient(to right, hsl(76, 70%, 37%), hsl(76, 70%, 17%));
gradient dark
background: linear-gradient(to right, hsl(76, 70%, 17%), hsl(76, 70%, 0%))
hex
background-color: #3A4A0D;
tailwind
bg-[hsl(76,70%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(76, 70%, 17%, 0.4);
css variable
--color-primary: hsl(76, 70%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(76, 70%, 17%)?
HEX: #3A4A0D | RGB: rgb(58, 74, 13) | CMYK: 22%, 0%, 82%, 71% | HSV: 76°, 82%, 29%. Copy any format from the conversion table above.
What colors go well with #3A4A0D?
The complementary color is HSL(256, 70%, 17%). 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, 70%, 17%) in CSS?
As HSL: color: hsl(76, 70%, 17%); — As HEX: color: #3A4A0D; — As RGB: color: rgb(58, 74, 13); — Tailwind CSS: bg-[hsl(76,70%,17%)] — CSS variable: --color-primary: hsl(76, 70%, 17%);